Releases: seleniumbase/SeleniumBase
Update Python dependencies
Update Python dependencies
importlib-metadata==2.0.0;python_version<"3.6"
importlib-metadata==3.0.0;python_version>="3.6"
virtualenv>=20.2.1
allure-pytest==2.8.21
Update Firefox preferences and Presenter
Update Firefox preferences and Presenter
- Update Firefox default preferences
- Update image display style in Presenter presentations
Driver updates and more
Driver updates and more
- Update default edgedriver and geckodriver versions.
- Handle the new zip format for edgedriver packaging.
- Update Firefox preferences.
- Set
urllib3
version to1.26.2
.
Update Python dependencies
Update Python dependencies
attrs>=20.3.0
certifi>=2020.11.8
urllib3==1.26.1
requests==2.25.0
toml==0.10.2
rich==9.2.0
Update a few dependencies
Update a few dependencies
ipython==7.19.0;python_version>="3.7"
tornado==5.1.1;python_version<"3.5"
tornado==6.1;python_version>="3.5"
Also:
- Update
self.wait_for_angularjs()
(skip alert-handling)
Small update to "wait_for_ready_state_complete()"
Small update to wait_for_ready_state_complete()
(This completes the change from the previous release)
A change was made that may impact tests that have alert pop-ups when opening a new page via open or click. This was done to prevent an issue that could occur if developers set custom implicit waits in their code.
The method: wait_for_ready_state_complete()
(which SeleniumBase uses for smart-waiting) runs some JavaScript to check that the readyState of the page is "complete" before moving on, but that automatically dismisses alert pop-ups that may appear. If you are expecting to deal with an alert pop-up after going to a new page via self.open(URL)
or self.click(SELECTOR)
, consider using self.driver.get(URL)
or self.find_element(SELECTOR).click()
instead, which won't use the SeleniumBase smart-waiting that may dismiss alert pop-ups before the user can call custom code to interact with them, such as self.wait_for_and_accept_alert()
or self.wait_for_and_dismiss_alert()
.
Update dependencies and a few minor things
Update dependencies and a few minor things
pytest==6.1.2;python_version>="3.5"
more-itertools==8.6.0;python_version>="3.5"
cryptography==3.2.1;python_version>="3.6"
allure-pytest==2.8.19
Also:
- Update ad-block timing
- Remove alert-handling code in
wait_for_ready_state_complete()
Note:
A change was made that may impact tests that have alert pop-ups when opening a new page via open
or click
. This was done to prevent an issue that could occur if developers set custom implicit waits in their code.
The method: wait_for_ready_state_complete()
(which SeleniumBase uses for smart-waiting) runs some JavaScript to check that the readyState of the page is "complete" before moving on, but that automatically dismisses alert pop-ups that may appear. If you are expecting to deal with an alert pop-up after going to a new page via self.open(URL)
or self.click(SELECTOR)
, consider using self.driver.get(URL)
or self.find_element(SELECTOR).click()
instead, which won't use the SeleniumBase smart-waiting that may dismiss alert pop-ups before the user can call custom code to interact with them, such as self.wait_for_and_accept_alert()
or self.wait_for_and_dismiss_alert()
.
Update Python dependencies
Update Python dependencies
- Update Python dependencies
--pygments==2.7.2
--cryptography==3.2
--virtualenv>=20.1.0
--zipp==3.4.0
--rich==9.1.0
- Also Ignore IE protected mode settings when using IE
Multiple improvements and updates
Multiple improvements and updates
- Add cmd option
--disable-ws
/--disable-web-security
to disable Chrome's Web Security. Chrome Web Security is now enabled by default, which is the default ChromeDriver setting. (See https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome for more info about it). This change makes it easier to use the SeleniumBase Virtual Device Farm from SeleniumBase tests (See https://seleniumbase.io/devices/), which already sets the Same-Origin policy. - Update jQuery version to
3.5.1
. - Update metadata for charts and presentations.
- Ignore leading and trailing whitespace for
assert_title(TITLE)
. - Make sure
--pdb
doesn't skiptearDown()
on failures. - Update Python package requirements:
--pip>=20.2.4
--setuptools>=50.3.2;python_version>="3.5"
--urllib3==1.25.11
--traitlets==5.0.5;python_version>="3.7"
--virtualenv>=20.0.35
--pyotp==2.4.1
--zipp==3.3.1;python_version>="3.6"
--rich==9.0.1;python_version>="3.6" and python_version<"4.0"
--pdfminer.six==20201018;python_version>="3.5"
Refactoring and other updates
Refactoring and other updates
- Get the setup.py version from
__version__.py
- Improve reliability when slow-scrolling to elements
- Update console scripts output
- Update Python dependencies
--prompt-toolkit==3.0.8
--colorama==0.4.4
--virtualenv>=20.0.34