Package com.codeborne.selenide.impl
Class JavaScript
java.lang.Object
com.codeborne.selenide.impl.JavaScript
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<org.openqa.selenium.JavascriptExecutor>
asJsExecutor
(org.openqa.selenium.SearchContext context) <T> @Nullable T
<T> @Nullable T
<T> T
executeOrFail
(Driver driver, Object... arguments) static org.openqa.selenium.JavascriptExecutor
jsExecutor
(org.openqa.selenium.SearchContext context) @Nullable Object
node
(org.openqa.selenium.SearchContext context)
-
Constructor Details
-
JavaScript
-
-
Method Details
-
execute
@CanIgnoreReturnValue public <T> @Nullable T execute(org.openqa.selenium.SearchContext context, @Nullable Object... arguments) -
execute
-
executeOrFail
-
jsExecutor
public static org.openqa.selenium.JavascriptExecutor jsExecutor(org.openqa.selenium.SearchContext context) -
asJsExecutor
public static Optional<org.openqa.selenium.JavascriptExecutor> asJsExecutor(org.openqa.selenium.SearchContext context) -
node
-