Skip to content

Console script updates and driver updates #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 31, 2018
Merged

Conversation

mdmintz
Copy link
Member

@mdmintz mdmintz commented Jul 31, 2018

  • You can now install web drivers by using seleniumbase console scripts:
seleniumbase install chromedriver
seleniumbase install geckodriver
seleniumbase install edgedriver

(SeleniumBase takes care of determining the latest version for your operating system's platform, downloading the zip file, extracting the driver from the zip file to the SeleniumBase drivers/ folder, and setting the permissions of the driver with "chmod" to make it executable for browser tests.)

  • You can now run tests in headless mode without using pyvirtualdisplay.
    Usage: --headless. (Make sure you have the latest versions of Chrome and Firefox installed.)
pytest my_first_test.py --browser=chrome --headless

@mdmintz mdmintz merged commit a7bf236 into master Jul 31, 2018
@mdmintz mdmintz deleted the driver-script-updates branch July 31, 2018 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant