Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
3.2.2 - Refresh Python dependencies
Refresh Python dependencies
3.2.1 - Optimizations for driver downloads
Optimizations for driver downloads
- Make performance optimizations for driver downloads
- This resolves #1341
- If
chromedriver
is missing when a test starts, SeleniumBase should first try getting the latest stable version. (Currently gets the special2.44
version, which doesn't have the compatibility check.) This won't effectsbase get chromedriver
, which will use the compatibility version. (Change that withsbase get chromedriver latest
to get the latest version.) - If the version of
chromedriver
is incompatible with the version ofchrome
, try to parse the exact major version ofchromedriver
that's needed, based on the output of the exception message, and then download that specific version directly. (Currently, it first downloads the compatibility version ofchromedriver
(2.44
), and then looks atdriver.capabilities
to figure out what the current version of Chrome is, in order to extract the major chrome version from that for downloading the correct driver version. - If running tests with multiple processes (eg.
-n=4
) and a new driver needs to be downloaded, then have a single test download the new driver (which is shared by all) while the other tests wait. (Currently, this was only done forchromedriver
. Nowmsedgedriver
andgeckodriver
will have this too, as opposed to just failing if the situation arises.) - The new compatibility version of
chromedriver
will be changed to72.0.3626.69
because that seems to be the highest version that doesn't include a version check with the Chrome version. (Currently it's set to2.44
, which also doesn't have a version check, but it's slightly older.) Afterchromedriver
72.0.3626.69
, drivers became very restrictive on which Chrome versions could be paired with them. (Eg.This version of ChromeDriver only supports Chrome version ...
)
3.2.0 - Multiple updates
Multiple updates
- Simplify some method calls
- Add method: deferred_assert_element_present(selector)
- Update output if installing a beta version of chromedriver
- Update SeleniumBase exceptions
- Make improvements to Recorder Mode
- Improve error-handling for Local/Session Storage methods
- Add "behave" step definitions
- Expand the tool that generates "behave" tests
- Refresh Python dependencies
- This resolves: #1334
- This resolves: #1335
- This resolves: #1336
- This resolves: #1337
- This resolves: #1338
3.1.5 - Refresh Python dependencies
Refresh Python dependencies
3.1.4 - Add install option to add "msedgedriver" to "/usr/local/bin"
Add install option to add "msedgedriver" to "/usr/local/bin"
sbase install edgedriver --path
Example:
sbase install edgedriver --path
*** edgedriver version for download = 101.0.1210.53
Downloading edgedriver_mac64.zip from:
https://msedgedriver.azureedge.net/101.0.1210.53/edgedriver_mac64.zip ...
Download Complete!
Driver_Notes/
Driver_Notes/LICENSE
Driver_Notes/EULA
Driver_Notes/credits.html
msedgedriver
Extracting ['Driver_Notes/', 'Driver_Notes/LICENSE', 'Driver_Notes/EULA', 'Driver_Notes/credits.html', 'msedgedriver'] from edgedriver_mac64.zip ...
Unzip Complete!
The file [msedgedriver] was saved to:
/Users/michael/github/SeleniumBase/seleniumbase/drivers/msedgedriver
Making [msedgedriver 101.0.1210.53] executable ...
[msedgedriver] is now ready for use!
Also copied to: /usr/local/bin/msedgedriver
3.1.3 - Refresh Python dependencies
Refresh Python dependencies
3.1.2 - Add "behave" steps to activate & deactivate Demo Mode
Add "behave" steps to activate & deactivate Demo Mode
- Add "behave" steps to activate & deactivate Demo Mode
- Refresh Python dependencies
3.1.1 - Make improvements to the Recorder
Make improvements to the Recorder
- Make improvements to the Recorder
-- This resolves #1326
-- If anid
starts with a number, (eg.5
), record'[id="5"]'
instead of"#5"
(an invalid selector).
-- Adddata-tooltip
as a possible attribute for generating selectors with the Recorder.
-- Recordbutton
instead ofbutton i
if a selector with ani
tag has abutton
parent/grandparent.
3.1.0 - Updates for the Behave-Gherkin integration
Updates for the Behave-Gherkin integration
- Use correct indentation for Behave-Gherkin files
- Add Recorder option to generate Behave-Gherkin files
- Add option to record self.sleep() calls with the Recorder
- Refactoring sleep calls in BaseCase
- Use correct syntax-highlighting for "sbase print *.feature"
- "os.path.join()" should be used for joining a path with a file
- Refresh Python dependencies
This resolves #1319
This resolves #1320
This resolves #1321
This resolves #1322
3.0.2 - Allow use of all "page_actions.py" methods without using "BaseCase"
Allow use of all "page_actions.py" methods without using "BaseCase"
- Allow use of "page_actions" without "BaseCase"
- This resolves #1316