Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Update dependencies and improve error-handling
Update dependencies and improve error-handling
- Update
requests
,idna
, andtqdm
- Improve error-handling with PDF extraction methods
Better error-handling with custom settings parsing
- Better error-handling with custom settings parsing
Update the way custom settings are parsed
- Update the way custom settings are parsed
- Add option to change the default MySQL port from
3306
- Rename
skip_test()
method toskip()
to prevent auto-discovery issues
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.0
on 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
tqdm
Python 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.1
tqdm>=4.42.0
Refresh Python dependencies
Refresh Python dependencies:
pip>=20.0.2
setuptools-scm>=3.4.3
packaging>=20.1
pdfminer.six==20200124;python_version>="3.5"