Lines Matching refs:script
318 * The executed script is assumed to be synchronous and the result of evaluating the script will be returned.
320 * @param string $script The script to inject.
321 * @param array $arguments The arguments of the script.
322 * @return mixed The return value of the script.
324 public function executeScript($script, array $arguments = [])
327 'script' => $script,
340 * You may need to define script timeout using `setScriptTimeout()` method of `WebDriverTimeouts` first.
342 * @param string $script The script to inject.
343 * @param array $arguments The arguments of the script.
344 * @return mixed The value passed by the script to the callback.
346 public function executeAsyncScript($script, array $arguments = [])
349 'script' => $script,