Skip to content

Pass more of selenium-webdriver into scripts #179

Open
@milesillsley

Description

@milesillsley

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions