AyeSpy
AyeSpy copied to clipboard
Pass more of selenium-webdriver into scripts
BREAKING CHANGE
atm =>
import { By } from 'selenium-webdriver';
export function executeScriptWithDriver(driver, script) {
return execute(script, driver, By);
}
This limits functionality of the scripts. I wanted to wait for an element after clicking on one, and the waitForElement functionality happens only after the onReady script.
Within the script i was unable to wait for lack of webdrivers' until
ok, maybe not the whole thing