Package io.fluentlenium.core.script
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 Summary
Modifier and TypeMethodDescriptionexecuteAsyncScript
(String script, Object... args) Execute a script, asynchronously.executeScript
(String script, Object... args) Execute a script, synchronously.
-
Method Details
-
executeScript
Execute a script, synchronously.- Parameters:
script
- script source to executeargs
- script arguments- Returns:
- an object wrapping the result
-
executeAsyncScript
Execute a script, asynchronously.- Parameters:
script
- script source to executeargs
- script arguments- Returns:
- an object wrapping the result
-