Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Handle utf-8 encoding with the IDE export converter
- Handle utf-8 encoding with the Selenium IDE export converter tool
- Update Python dependencies
- Add the minimum test example (only spin up a browser and quit)
Update default Geckodriver version on Windows
Update default Geckodriver version on Windows
- Using
v0.24.0on Windows to prevent issues
(The default version for other systems is stillv0.26.0)
Add additional scroll methods
Add additional scroll methods:
- Add
scroll_to_top()andscroll_to_bottom() - Update
tqdmPython dependency
Allow URLS that start with "://" for open(URL)
This fixes #494
Allow URLS that start with :// for the open(URL) method
If you copy/paste a URL such as ://google.com into a web browser, the browser automatically converts the URL to https://google.com. But if you use the webdriver get(URL) method for URLs that start with ://, you'll get the following error:
selenium.common.exceptions.WebDriverException:
Message: unhandled inspector error:
{"code":-32000,"message":"Cannot navigate to invalid URL"}
Now the SeleniumBase open(URL) method (which wraps driver.get) automatically adds the https to URLs that start with :// to prevent the error.
As a bonus, you can now make your Python code lines 5 characters shorter if they use the open(URL) method for https URLs.
Automated Visual Testing (2nd edition)
Automated Visual Testing (2nd edition)
- Improve automated visual testing
- Better handling of page scrolling to elements
- Better exception handling around log folders
- Update pytest and wheel
See https://github.com/seleniumbase/SeleniumBase/tree/master/examples/visual_testing for examples and the ReadMe!
Refresh "wheel" and "tqdm" dependencies
Update Python dependencies:
wheel>=0.34.1tqdm>=4.42.0
Refresh Python dependencies
Refresh Python dependencies:
pip>=20.0.2setuptools-scm>=3.4.3packaging>=20.1pdfminer.six==20200124;python_version>="3.5"
Treat the new Chromium Edge browser like Chrome
Treat the new Chromium Edge browser like Chrome
- Because Edge is Chromium-based now, it works like Chrome
Also Update pip, urllib3, and pdfminer.six dependencies:
- pip>=20.0.1
- urllib3==1.25.8
- pdfminer.six==20200121;python_version>="3.5"
Update Python dependencies
Update Python dependencies:
- pytest>=5.3.4
- setuptools>=45.1.0;python_version>="3"
- setuptools-scm>=3.4.2