Skip to content

Update dependencies and a few minor things

Compare
Choose a tag to compare
@mdmintz mdmintz released this 30 Oct 18:33
· 4871 commits to master since this release
1b899bb

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().