Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Active window visibility and more
Active window visibility and more
- Bring the active window to front when switching drivers.
-- This adds a new method:self.bring_active_window_to_front().
-- That method is now called automatically after using methods that switch the active driver.
-- Here's an example test that switches drivers: test_multiple_drivers.py - Improve error-handling during specific edge-cases.
- Refresh Python dependencies:
--setuptools>=60.3.1;python_version>="3.7"
--urllib3==1.26.8
--pygments==2.11.2;python_version>="3.5"
--decorator==5.1.1;python_version>="3.5"
Refresh Python dependencies
Refresh Python dependencies
requests==2.27.1;python_version>="3.6"ipython==7.31.0;python_version>="3.7"
Refactoring and dependencies
Refactoring and dependencies
- Refactoring code for different versions of Python.
- Fix multi-factor auth code on early versions of Python.
- Refresh Python dependencies:
--charset-normalizer==2.0.10;python_version>="3.5"
--requests==2.27.0;python_version>="3.6"
Refresh Python dependencies
Refresh Python dependencies
virtualenv>=20.13.0Pillow==9.0.0;python_version>="3.7"rich==10.16.2;python_version>="3.6"
Refresh Python dependencies
Refresh Python dependencies
virtualenv>=20.12.1
Refresh Python dependencies
Refresh Python dependencies
setuptools>=60.2.0;python_version>="3.7"attrs>=21.4.0pygments==2.11.1;python_version>="3.5"virtualenv>=20.12.0
Refresh Python dependencies, default driver versions, and the Dockerfile
Refresh Python dependencies, default driver versions, and the Dockerfile
setuptools>=60.1.1;python_version>="3.7"attrs>=21.3.0filelock==3.4.2;python_version>="3.7"platformdirs==2.4.1;python_version>="3.7"virtualenv>=20.11.1- Update default operadriver installed with
sbase install operadriver. - Update default msedgedriver installed. (But look for "LATEST_STABLE" first.)
- Update the Dockerfile. (This is an optional way of using SeleniumBase.)
Update & refactor browser capabilities and Grid code
Update & refactor browser capabilities and Grid code
- For Chrome, parse
browserVersionandplatformNamefor Grid tests. - For Firefox, parse
platformNamefor Grid tests. - When using a cap file that sets the above, a matching Grid node is required.
- Remove Legacy Edge from local grid nodes.
- Set local Grid node browsers to version:
"latest"for cap file identification. - Refresh Python dependencies:
setuptools>=60.1.0;python_version>="3.7"
Here's a refresher on using a local Selenium Grid:
If using a local Selenium Grid with SeleniumBase, start up the Grid Hub and nodes first:
sbase grid-hub start
sbase grid-node start(The Selenium Server JAR file will be automatically downloaded for first-time Grid users. You'll also need Java installed to start up the Grid.)
To have tests use the local Grid, set: --server=127.0.0.1 in the pytest command-line options.
Recorder Mode update and dependencies
Recorder Mode update and dependencies
- Handle a Recorder Mode edge case with duplicate actions.
-- (Anopen()should have been anopen_if_not_url()) - Refresh Python dependencies:
--setuptools>=60.0.5;python_version>="3.7"
--wheel>=0.37.1
Fix dark text on dark background issue during "sbase mkdir DIR"
Fix dark text on dark background issue during sbase mkdir DIR
- This resolves #1135