balin / com.github.epadronu.balin.core / JavaScriptTests

JavaScriptTests

class JavaScriptTests

Constructors

<init>

JavaScriptTests()

Functions

Create a JavaScript-enabled WebDriver factory

fun Create a JavaScript-enabled WebDriver factory(): Array<Array<() -> <ERROR CLASS>>>

Create a JavaScript-incapable WebDriver factory

fun Create a JavaScript-incapable WebDriver factory(): Array<Array<() -> <ERROR CLASS>>>

Execute invalid JavaScript code in the browser

fun Execute invalid JavaScript code in the browser(driverFactory: () -> WebDriver): Unit

Execute JavaScript code with a WebElement as its argument and interact with it

fun Execute JavaScript code with a WebElement as its argument and interact with it(driverFactory: () -> WebDriver): Unit

Execute valid JavaScript code in a JS-incapable browser

fun Execute valid JavaScript code in a JS-incapable browser(driverFactory: () -> WebDriver): Unit

Execute valid JavaScript code in the browser

fun Execute valid JavaScript code in the browser(driverFactory: () -> WebDriver): Unit

execute_an_asynchronous_javascript_code

fun execute_an_asynchronous_javascript_code(driverFactory: () -> WebDriver): Unit

execute_javaScript_code_with_arguments_via_the_call_method

fun execute_javaScript_code_with_arguments_via_the_call_method(driverFactory: () -> WebDriver): Unit

execute_javaScript_code_with_arguments_via_the_execute_method

fun execute_javaScript_code_with_arguments_via_the_execute_method(driverFactory: () -> WebDriver): Unit

execute_javaScript_code_with_arguments_via_the_invoke_operator

fun execute_javaScript_code_with_arguments_via_the_invoke_operator(driverFactory: () -> WebDriver): Unit

execute_javaScript_code_with_arguments_via_the_run_method

fun execute_javaScript_code_with_arguments_via_the_run_method(driverFactory: () -> WebDriver): Unit

Set a global JS variable and retrieve it via the execute method

fun Set a global JS variable and retrieve it via the execute method(driverFactory: () -> WebDriver): Unit

set_a_global_js_variable_and_retrieve_it_via_a_get

fun set_a_global_js_variable_and_retrieve_it_via_a_get(driverFactory: () -> WebDriver): Unit