public class ByScLocator
extends org.openqa.selenium.By
By
which understands SmartClient locator names findElements() is delegated to AutoTest.jsModifier and Type | Method and Description |
---|---|
boolean | isEdge() Checks whether locator represents the edge of widget |
static org.openqa.selenium.By | scLocator(java.lang.String scLocator) Support for static API like native By class |
static void | setDefaultWaitTimeout(int timeoutInSeconds) Change the default timeout for all ByScLocator instances to the supplied number of seconds. |
void | setWaitTimeout(int timeoutInSeconds) Change the timeout of the associated ByScLocator instance to the supplied number of seconds. |
public static void setDefaultWaitTimeout(int timeoutInSeconds)
ByScLocator.findElement(org.openqa.selenium.SearchContext)
method that waits for an element.timeoutInSeconds
- new default timeout, in seconds (must be positive)public void setWaitTimeout(int timeoutInSeconds)
ByScLocator.findElement(org.openqa.selenium.SearchContext)
method that waits for an element.timeoutInSeconds
- new default timeout, in seconds (must be positive)public boolean isEdge()
public static org.openqa.selenium.By scLocator(java.lang.String scLocator)
scLocator
- specifies a SmarctClient component or part thereof