com.isomorphic.webdriver

## Class ByScLocator

- java.lang.Object
- - org.openqa.selenium.By
  - - com.isomorphic.webdriver.ByScLocator

-     public class ByScLocator
      extends org.openqa.selenium.By

  A custom implementation of `By` which understands SmartClient locator names findElements() is delegated to AutoTest.js

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.openqa.selenium.By` | `scLocator(java.lang.String scLocator)` Support for static API like native By class
    `void` | `setDefaultWaitTimeout(int timeoutInSeconds)` Change the default timeout for the methods that wait to the supplied number of seconds.

- - ### Method Detail

    - #### setDefaultWaitTimeout

          public void setDefaultWaitTimeout(int timeoutInSeconds)

      Change the default timeout for the methods that wait to the supplied number of seconds.
      Parameters:
        `timeoutInSeconds` - new default timeout, in seconds (must be positive)

    - #### scLocator

          public static org.openqa.selenium.By scLocator(java.lang.String scLocator)

      Support for static API like native By class
      Parameters:
        `scLocator` - specifies a SmarctClient component or part thereof
      Returns:
        An implementation of By