text: Ext.data.JsonP.Siesta_Test_Element({"tagname":"class","name":"Siesta.Test.Element","extends":null,"mixins":[],"alternateClassNames":[],"aliases":{},"singleton":false,"requires":[],"uses":[],"enum":null,"override":null,"inheritable":null,"inheritdoc":null,"meta":{},"private":null,"id":"class-Siesta.Test.Element","members":{"cfg":[],"property":[],"method":[{"name":"chainClick","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-chainClick"},{"name":"clickSelector","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-clickSelector"},{"name":"contentLike","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-contentLike"},{"name":"contentNotLike","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-contentNotLike"},{"name":"elementIsAt","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsAt"},{"name":"elementIsInView","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsInView"},{"name":"elementIsNotTopElement","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsNotTopElement"},{"name":"elementIsNotVisible","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsNotVisible"},{"name":"elementIsTop","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsTop"},{"name":"elementIsTopElement","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsTopElement"},{"name":"elementIsVisible","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-elementIsVisible"},{"name":"findCenter","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-findCenter"},{"name":"hasCls","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-hasCls"},{"name":"hasNotCls","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-hasNotCls"},{"name":"hasNotStyle","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-hasNotStyle"},{"name":"hasStyle","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-hasStyle"},{"name":"isElementVisible","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-isElementVisible"},{"name":"isInView","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-isInView"},{"name":"monkeyTest","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-monkeyTest"},{"name":"selectorExists","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-selectorExists"},{"name":"selectorIsAt","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-selectorIsAt"},{"name":"selectorNotExists","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-selectorNotExists"},{"name":"waitForContentLike","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForContentLike"},{"name":"waitForContentNotLike","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForContentNotLike"},{"name":"waitForElementNotTop","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForElementNotTop"},{"name":"waitForElementNotVisible","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForElementNotVisible"},{"name":"waitForElementTop","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForElementTop"},{"name":"waitForElementVisible","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForElementVisible"},{"name":"waitForScrollChange","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForScrollChange"},{"name":"waitForScrollLeftChange","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForScrollLeftChange"},{"name":"waitForScrollTopChange","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForScrollTopChange"},{"name":"waitForSelector","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForSelector"},{"name":"waitForSelectorAt","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForSelectorAt"},{"name":"waitForSelectorAtCursor","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForSelectorAtCursor"},{"name":"waitForSelectorNotFound","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForSelectorNotFound"},{"name":"waitForSelectors","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitForSelectors"},{"name":"waitUntilInView","tagname":"method","owner":"Siesta.Test.Element","meta":{},"id":"method-waitUntilInView"}],"event":[],"css_var":[],"css_mixin":[]},"linenr":9,"files":[{"filename":"Element.js","href":"Element2.html#Siesta-Test-Element"}],"html_meta":{},"statics":{"cfg":[],"property":[],"method":[],"event":[],"css_var":[],"css_mixin":[]},"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"parentMixins":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Element2.html#Siesta-Test-Element' target='_blank'>Element.js</a></div></pre><div class='doc-contents'><p>This is a mixin, with helper methods for testing functionality relating to DOM elements. This mixin is consumed by <a href=\"#!/api/Siesta.Test\" rel=\"Siesta.Test\" class=\"docClass\">Siesta.Test</a></p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-chainClick' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-chainClick' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-chainClick' class='name expandable'>chainClick</a>( <span class='pre'>elements, callback</span> )</div><div class='description'><div class='short'>This method accepts an array of the DOM elements and performs a mouse click on them, in order. ...</div><div class='long'><p>This method accepts an array of the DOM elements and performs a mouse click on them, in order. After that, it calls the provided callback:</p>\n\n<pre><code>   t.chainClick([ el1, el2 ], function () {\n        ...\n   })\n</code></pre>\n\n<p>the elements can be also provided inline, w/o wrapping array:</p>\n\n<pre><code>   t.chainClick(el1, el2, function () {\n        ...\n   })\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>elements</span> : Array[Siesta.Test.ActionTarget]<div class='sub-desc'><p>The array of elements to click</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The function to call after clicking all elements</p>\n</div></li></ul></div></div></div><div id='method-clickSelector' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-clickSelector' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-clickSelector' class='name expandable'>clickSelector</a>( <span class='pre'>selector, [root], [callback], [scope]</span> )</div><div class='description'><div class='short'>This method is a wrapper around the chainClick, it performs a click on the every element found with the DOM query. ...</div><div class='long'><p>This method is a wrapper around the <a href=\"#!/api/Siesta.Test.Element-method-chainClick\" rel=\"Siesta.Test.Element-method-chainClick\" class=\"docClass\">chainClick</a>, it performs a click on the every element found with the DOM query.</p>\n\n<p>You can specify the optional <code>root</code> element to start the query from:</p>\n\n<pre><code> t.clickSelector('.my-grid .x-grid-row', someEl, function () {})\n</code></pre>\n\n<p>or omit it (query will start from the document):</p>\n\n<pre><code> t.clickSelector('.my-grid .x-grid-row', function () {})\n</code></pre>\n\n<p>The provided callback will receive an array with DOM elements - result of query.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector/xpath query</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a> (optional)<div class='sub-desc'><p>The root of the query, defaults to the <code>document</code>. You can omit this parameter.</p>\n<p>Defaults to: <code>document</code></p></div></li><li><span class='pre'>callback</span> : Function (optional)<div class='sub-desc'>\n</div></li><li><span class='pre'>scope</span> : Object (optional)<div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-contentLike' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-contentLike' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-contentLike' class='name expandable'>contentLike</a>( <span class='pre'>el, text, description</span> )</div><div class='description'><div class='short'>Passes if the innerHTML of the passed element contains the text passed ...</div><div class='long'><p>Passes if the innerHTML of the passed element contains the text passed</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to match</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-contentNotLike' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-contentNotLike' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-contentNotLike' class='name expandable'>contentNotLike</a>( <span class='pre'>el, text, description</span> )</div><div class='description'><div class='short'>Passes if the innerHTML of the passed element does not contain the text passed ...</div><div class='long'><p>Passes if the innerHTML of the passed element does not contain the text passed</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to match</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-elementIsAt' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsAt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsAt' class='name expandable'>elementIsAt</a>( <span class='pre'>el, xy, allowChildren, description</span> )</div><div class='description'><div class='short'>Passes if the element is found at the supplied xy coordinates. ...</div><div class='long'><p>Passes if the element is found at the supplied xy coordinates.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>xy</span> : Array<div class='sub-desc'><p>The xy coordinate to query.</p>\n</div></li><li><span class='pre'>allowChildren</span> : Boolean<div class='sub-desc'><p>true to also include child nodes. False to strictly check for the passed element.</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-elementIsInView' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsInView' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsInView' class='name expandable'>elementIsInView</a>( <span class='pre'>el</span> )</div><div class='description'><div class='short'>Returns true if the passed element is inside of the visible viewport ...</div><div class='long'><p>Returns true if the passed element is inside of the visible viewport</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li></ul></div></div></div><div id='method-elementIsNotTopElement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsNotTopElement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsNotTopElement' class='name expandable'>elementIsNotTopElement</a>( <span class='pre'>el, allowChildren, description</span> )</div><div class='description'><div class='short'>Passes if the element is not the top element (using its center xy coordinates). ...</div><div class='long'><p>Passes if the element is not the top element (using its center xy coordinates).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>allowChildren</span> : Boolean<div class='sub-desc'><p>true to also include child nodes. False to strictly check for the passed element.</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-elementIsNotVisible' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsNotVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsNotVisible' class='name expandable'>elementIsNotVisible</a>( <span class='pre'>el, description</span> )</div><div class='description'><div class='short'>Passes if the element is not visible. ...</div><div class='long'><p>Passes if the element is not visible.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-elementIsTop' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsTop' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsTop' class='name expandable'>elementIsTop</a>( <span class='pre'>el, allowChildren</span> ) : Boolean</div><div class='description'><div class='short'>Utility method which checks if the passed method is the 'top' element at its position. ...</div><div class='long'><p>Utility method which checks if the passed method is the 'top' element at its position.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>allowChildren</span> : Boolean<div class='sub-desc'><p>true to also include child nodes. False to strictly check for the passed element.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'><p>true if the element is the top element.</p>\n</div></li></ul></div></div></div><div id='method-elementIsTopElement' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsTopElement' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsTopElement' class='name expandable'>elementIsTopElement</a>( <span class='pre'>el, allowChildren, description, strict</span> )</div><div class='description'><div class='short'>Passes if the element is the top element (using its center xy coordinates). ...</div><div class='long'><p>Passes if the element is the top element (using its center xy coordinates).</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>allowChildren</span> : Boolean<div class='sub-desc'><p>true to also include child nodes. False to strictly check for the passed element.</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li><li><span class='pre'>strict</span> : Boolean<div class='sub-desc'><p>true to check all four corners of the element. False to only check at element center.</p>\n</div></li></ul></div></div></div><div id='method-elementIsVisible' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-elementIsVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-elementIsVisible' class='name expandable'>elementIsVisible</a>( <span class='pre'>el, description</span> )</div><div class='description'><div class='short'>Passes if the element is visible. ...</div><div class='long'><p>Passes if the element is visible.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-findCenter' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-findCenter' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-findCenter' class='name expandable'>findCenter</a>( <span class='pre'>el</span> ) : Object</div><div class='description'><div class='short'>Utility method which returns the center if a passed element. ...</div><div class='long'><p>Utility method which returns the center if a passed element.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to find the center of.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Object</span><div class='sub-desc'><p>The object with <code>x</code> and <code>y</code> properties</p>\n</div></li></ul></div></div></div><div id='method-hasCls' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-hasCls' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-hasCls' class='name expandable'>hasCls</a>( <span class='pre'>el, cls, description</span> )</div><div class='description'><div class='short'>Passes if the element has the supplied CSS classname ...</div><div class='long'><p>Passes if the element has the supplied CSS classname</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>cls</span> : String<div class='sub-desc'><p>The class name to check for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-hasNotCls' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-hasNotCls' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-hasNotCls' class='name expandable'>hasNotCls</a>( <span class='pre'>el, cls, description</span> )</div><div class='description'><div class='short'>Passes if the element does not have the supplied CSS classname ...</div><div class='long'><p>Passes if the element does not have the supplied CSS classname</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>cls</span> : String<div class='sub-desc'><p>The class name to check for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-hasNotStyle' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-hasNotStyle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-hasNotStyle' class='name expandable'>hasNotStyle</a>( <span class='pre'>el, property, value, description</span> )</div><div class='description'><div class='short'>Passes if the element does not have the supplied style value ...</div><div class='long'><p>Passes if the element does not have the supplied style value</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>property</span> : String<div class='sub-desc'><p>The style property to check for</p>\n</div></li><li><span class='pre'>value</span> : String<div class='sub-desc'><p>The style value to check for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-hasStyle' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-hasStyle' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-hasStyle' class='name expandable'>hasStyle</a>( <span class='pre'>el, property, value, description</span> )</div><div class='description'><div class='short'>Passes if the element does not have the supplied style value ...</div><div class='long'><p>Passes if the element does not have the supplied style value</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>property</span> : String<div class='sub-desc'><p>The style property to check for</p>\n</div></li><li><span class='pre'>value</span> : String<div class='sub-desc'><p>The style value to check for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-isElementVisible' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-isElementVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-isElementVisible' class='name expandable'>isElementVisible</a>( <span class='pre'>el</span> ) : Boolean</div><div class='description'><div class='short'>Returns true if the element is visible, checking jQuery :visible selector + style visibilty value. ...</div><div class='long'><p>Returns true if the element is visible, checking jQuery :visible selector + style visibilty value.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'>Boolean</span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-isInView' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-isInView' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-isInView' class='name expandable'>isInView</a>( <span class='pre'>el, description</span> )</div><div class='description'><div class='short'>Passes if the passed element is inside of the visible viewport ...</div><div class='long'><p>Passes if the passed element is inside of the visible viewport</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-monkeyTest' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-monkeyTest' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-monkeyTest' class='name expandable'>monkeyTest</a>( <span class='pre'>el, nbrInteractions, description, callback, scope</span> )</div><div class='description'><div class='short'>Performs clicks, double clicks, right clicks and drags at random coordinates within the passed element. ...</div><div class='long'><p>Performs clicks, double clicks, right clicks and drags at random coordinates within the passed element.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to upon which to unleash the \"monkey\".</p>\n</div></li><li><span class='pre'>nbrInteractions</span> : Int<div class='sub-desc'><p>The number of random interactions to perform.</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li></ul></div></div></div><div id='method-selectorExists' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-selectorExists' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-selectorExists' class='name expandable'>selectorExists</a>( <span class='pre'>selector, description</span> )</div><div class='description'><div class='short'>Passes if the selector is found in the DOM ...</div><div class='long'><p>Passes if the selector is found in the DOM</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to query for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-selectorIsAt' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-selectorIsAt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-selectorIsAt' class='name expandable'>selectorIsAt</a>( <span class='pre'>selector, xy, allowChildren, description</span> )</div><div class='description'><div class='short'>Passes if the element is found at the supplied xy coordinates. ...</div><div class='long'><p>Passes if the element is found at the supplied xy coordinates.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to query for</p>\n</div></li><li><span class='pre'>xy</span> : Array<div class='sub-desc'><p>The xy coordinate to query.</p>\n</div></li><li><span class='pre'>allowChildren</span> : Boolean<div class='sub-desc'><p>true to also include child nodes. False to strictly check for the passed element.</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-selectorNotExists' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-selectorNotExists' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-selectorNotExists' class='name expandable'>selectorNotExists</a>( <span class='pre'>selector, description</span> )</div><div class='description'><div class='short'>Passes if the selector is not found in the DOM ...</div><div class='long'><p>Passes if the selector is not found in the DOM</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The selector to query for</p>\n</div></li><li><span class='pre'>description</span> : Description<div class='sub-desc'><p>The description for the assertion</p>\n</div></li></ul></div></div></div><div id='method-waitForContentLike' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForContentLike' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForContentLike' class='name expandable'>waitForContentLike</a>( <span class='pre'>el, text, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the innerHTML of the passed element contains the text passed ...</div><div class='long'><p>Waits until the innerHTML of the passed element contains the text passed</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to match</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForContentNotLike' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForContentNotLike' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForContentNotLike' class='name expandable'>waitForContentNotLike</a>( <span class='pre'>el, text, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the innerHTML of the passed element does not contain the text passed ...</div><div class='long'><p>Waits until the innerHTML of the passed element does not contain the text passed</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to query</p>\n</div></li><li><span class='pre'>text</span> : String<div class='sub-desc'><p>The text to match</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForElementNotTop' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForElementNotTop' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForElementNotTop' class='name expandable'>waitForElementNotTop</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the passed element is not the 'top' element in the DOM and calls the provided callback with the element f...</div><div class='long'><p>Waits until the passed element is not the 'top' element in the DOM and calls the provided callback with the element found.</p>\n\n<p>The callback will receive the actual top element.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForElementNotVisible' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForElementNotVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForElementNotVisible' class='name expandable'>waitForElementNotVisible</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the passed element is becomes not \"visible\" in the DOM and call the provided callback. ...</div><div class='long'><p>Waits until the passed element is becomes not \"visible\" in the DOM and call the provided callback.\nPlease note, that \"visible\" means element will just have a DOM node, and still may be hidden by another visible element.</p>\n\n<p>The callback will receive the passed element as the 1st argument.</p>\n\n<p>See also <a href=\"#!/api/Siesta.Test.Element-method-waitForElementNotTop\" rel=\"Siesta.Test.Element-method-waitForElementNotTop\" class=\"docClass\">waitForElementNotTop</a> method.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForElementTop' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForElementTop' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForElementTop' class='name expandable'>waitForElementTop</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the passed element is the 'top' element in the DOM and call the provided callback. ...</div><div class='long'><p>Waits until the passed element is the 'top' element in the DOM and call the provided callback.</p>\n\n<p>The callback will receive the passed element as the 1st argument.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForElementVisible' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForElementVisible' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForElementVisible' class='name expandable'>waitForElementVisible</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the passed element becomes \"visible\" in the DOM and calls the provided callback. ...</div><div class='long'><p>Waits until the passed element becomes \"visible\" in the DOM and calls the provided callback.\nPlease note, that \"visible\" means element will just have a DOM node, and still may be hidden by another visible element.</p>\n\n<p>The callback will receive the passed element as the 1st argument.</p>\n\n<p>See also <a href=\"#!/api/Siesta.Test.Element-method-waitForElementTop\" rel=\"Siesta.Test.Element-method-waitForElementTop\" class=\"docClass\">waitForElementTop</a> method.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element to look for.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForScrollChange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForScrollChange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForScrollChange' class='name expandable'>waitForScrollChange</a>( <span class='pre'>el, side, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the passed scroll property of the element has changed. ...</div><div class='long'><p>Waits until the passed scroll property of the element has changed.</p>\n\n<p>The callback will receive the new <code>scroll</code> value.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>side</span> : String<div class='sub-desc'><p>'left' or 'top'</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForScrollLeftChange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForScrollLeftChange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForScrollLeftChange' class='name expandable'>waitForScrollLeftChange</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the scrollLeft property of the element has changed. ...</div><div class='long'><p>Waits until the <code>scrollLeft</code> property of the element has changed.</p>\n\n<p>The callback will receive the new <code>scrollLeft</code> value.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForScrollTopChange' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForScrollTopChange' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForScrollTopChange' class='name expandable'>waitForScrollTopChange</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until the scrollTop property of the element has changed\n\nThe callback will receive the new scrollTop value. ...</div><div class='long'><p>Waits until the scrollTop property of the element has changed</p>\n\n<p>The callback will receive the new <code>scrollTop</code> value.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForSelector' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForSelector' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForSelector' class='name expandable'>waitForSelector</a>( <span class='pre'>selector, [root], callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits for a certain CSS selector to be found in the DOM, and then calls the callback supplied. ...</div><div class='long'><p>Waits for a certain CSS selector to be found in the DOM, and then calls the callback supplied.\nThe callback will receive the results of jQuery selector.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The CSS selector to check for</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a> (optional)<div class='sub-desc'><p>The root element in which to detect the selector.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test-cfg-waitForTimeout\" rel=\"Siesta.Test-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForSelectorAt' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForSelectorAt' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForSelectorAt' class='name expandable'>waitForSelectorAt</a>( <span class='pre'>xy, selector, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits for a certain CSS selector to be found at the passed XY coordinate, and calls the callback when found. ...</div><div class='long'><p>Waits for a certain CSS selector to be found at the passed XY coordinate, and calls the callback when found.\nThe callback will receive the element from the passed XY coordinates.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>xy</span> : Array<div class='sub-desc'><p>The x and y coordinates to query</p>\n</div></li><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The CSS selector to check for</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test-cfg-waitForTimeout\" rel=\"Siesta.Test-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForSelectorAtCursor' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForSelectorAtCursor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForSelectorAtCursor' class='name expandable'>waitForSelectorAtCursor</a>( <span class='pre'>xy, selector, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits for a certain CSS selector to be found at current cursor position, and calls the callback when found. ...</div><div class='long'><p>Waits for a certain CSS selector to be found at current cursor position, and calls the callback when found.\nThe callback will receive the element found.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>xy</span> : Array<div class='sub-desc'><p>The x and y coordinates to query</p>\n</div></li><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The CSS selector to check for</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test-cfg-waitForTimeout\" rel=\"Siesta.Test-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForSelectorNotFound' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForSelectorNotFound' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForSelectorNotFound' class='name expandable'>waitForSelectorNotFound</a>( <span class='pre'>selector, [root], callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits for a certain CSS selector to not be found in the DOM, and then calls the callback supplied. ...</div><div class='long'><p>Waits for a certain CSS selector to not be found in the DOM, and then calls the callback supplied.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selector</span> : String<div class='sub-desc'><p>The CSS selector to check for</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a> (optional)<div class='sub-desc'><p>The root element in which to detect the selector.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test-cfg-waitForTimeout\" rel=\"Siesta.Test-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitForSelectors' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitForSelectors' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitForSelectors' class='name expandable'>waitForSelectors</a>( <span class='pre'>selectors, [root], callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits till all the CSS selectors from the provided array to be found in the DOM, and then calls the callback supplied. ...</div><div class='long'><p>Waits till all the CSS selectors from the provided array to be found in the DOM, and then calls the callback supplied.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>selectors</span> : String[]<div class='sub-desc'><p>The array of CSS selectors to check for</p>\n</div></li><li><span class='pre'>root</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a> (optional)<div class='sub-desc'><p>The root element in which to detect the selector.</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call after the CSS selector has been found</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test-cfg-waitForTimeout\" rel=\"Siesta.Test-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div><div id='method-waitUntilInView' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Test.Element'>Siesta.Test.Element</span><br/><a href='source/Element2.html#Siesta-Test-Element-method-waitUntilInView' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Test.Element-method-waitUntilInView' class='name expandable'>waitUntilInView</a>( <span class='pre'>el, callback, scope, timeout</span> )</div><div class='description'><div class='short'>Waits until element is inside in the visible viewport and then calls the supplied callback ...</div><div class='long'><p>Waits until element is inside in the visible viewport and then calls the supplied callback</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/Siesta.Test.ActionTarget\" rel=\"Siesta.Test.ActionTarget\" class=\"docClass\">Siesta.Test.ActionTarget</a><div class='sub-desc'><p>The element</p>\n</div></li><li><span class='pre'>callback</span> : Function<div class='sub-desc'><p>The callback to call</p>\n</div></li><li><span class='pre'>scope</span> : Object<div class='sub-desc'><p>The scope for the callback</p>\n</div></li><li><span class='pre'>timeout</span> : Int<div class='sub-desc'><p>The maximum amount of time to wait for the condition to be fulfilled. Defaults to the <a href=\"#!/api/Siesta.Test.ExtJS-cfg-waitForTimeout\" rel=\"Siesta.Test.ExtJS-cfg-waitForTimeout\" class=\"docClass\">Siesta.Test.ExtJS.waitForTimeout</a> value.</p>\n</div></li></ul></div></div></div></div></div></div></div>"});