Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Update examples, pytest version, and console scripts
- Update examples
- Use pytest >= 4.6.5 on Python 2 (Python 3 uses pytest >= 5.0.1)
- Update console scripts test generator
Add the "sb" pytest fixture
- Add the "sb" pytest fixture
Usage examples:
# "sb" pytest fixture test in a method with no class
def test_sb_fixture_with_no_class(sb):
sb.open("https://google.com/ncr")
sb.update_text('input[title="Search"]', 'SeleniumBase\n')
sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
sb.click('a[title="seleniumbase"]')
# "sb" pytest fixture test in a method inside a class
class Test_SB_Fixture():
def test_sb_fixture_inside_class(self, sb):
sb.open("https://google.com/ncr")
sb.update_text('input[title="Search"]', 'SeleniumBase\n')
sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
sb.click('a[title="examples"]')
Adding w3c Chromedriver support
- Adding w3c ChromeDriver support.
- Better error handling for scrolling actions.
seleniumbase install chromedriver
now installs ChromeDriver version 2.44 by default.
Use a customized virtual display in headless mode
Use a customized virtual display in headless mode
- This removes the pyvirtualdisplay requirement
- This also makes tests run much faster in headless mode
Update pyotp lib and seleniumbase mkdir command
Update pyotp lib and seleniumbase mkdir
command
- Update pyotp to >=2.3.0
- Have the
seleniumbase mkdir
script create an extra example test.
New option: Set initial URL with --start_page=URL or --url=URL
Add ability to set initial URL with --start_page=URL
or --url=URL
cmd option
Make --headless mode the default setting on Linux
Make --headless mode the default setting on Linux
Improve the export feature for website tours
Improve the export feature for website tours
Optimize selector detection and usage
Optimize selector detection and usage
Small updates to reliability and logging
Small updates to reliability and logging
- Update demo-mode reliability
- Update logging level for "requests" and "urllib3"