Interface JavascriptControl

All Known Subinterfaces:
FluentControl, FluentPageControl, IFluentAdapter
All Known Implementing Classes:
BaseFluentHook, BaseHook, ContainerFluentControl, DefaultFluentContainer, FluentAdapter, FluentControlImpl, FluentCucumberTest, FluentDriver, FluentPage, FluentStandalone, FluentStandaloneRunnable, FluentTest, FluentTest, FluentTestNg, FluentTestNgSpringTest, FluentTestRunnerAdapter, FluentWebElement, IsolatedTest, WaitHook

public interface JavascriptControl
Control interface to execute script, synchronously or asynchronously.
  • Method Details

    • executeScript

      FluentJavascript executeScript (String script, Object... args)
      Execute a script, synchronously.
      Parameters:
      script - script source to execute
      args - script arguments
      Returns:
      an object wrapping the result
    • executeAsyncScript

      FluentJavascript executeAsyncScript (String script, Object... args)
      Execute a script, asynchronously.
      Parameters:
      script - script source to execute
      args - script arguments
      Returns:
      an object wrapping the result