Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
3.5.9 - Refresh Python dependencies
Refresh Python dependencies
3.5.8 - Fix intermittent issue with Firefox and geckodriver
Fix intermittent issue with Firefox and geckodriver
- Fix intermittent Firefox issue
- This resolves #1424
The following intermittent issues should all be handled now:
"geckodriver unexpectedly exited"
"Process unexpectedly closed"
"Failed to read marionette port"
"A connection attempt failed"
(For situations caused intermittently by the Firefox auto-update process that checks to see if an update is available, whether to perform the update, and then perform the update if applicable.)
3.5.7 - Update Default Firefox Preferences
Update Default Firefox Preferences
- Update default Firefox preferences
- Update Firefox error-handling
- Refactoring
--> Useos.devnull
instead ofos.path.devnull
where used.
--> Callingraise
can be done without args. (Uses the last Exception in a try/except block).
3.5.6 - Handle edge cases after successful actions and refresh dependencies
Handle edge cases after successful actions and refresh dependencies
- Handle edge cases after successful actions
--> Resolves #1421
--> (Handlescannot determine loading status
andunexpected command response
) - Refresh dependencies to officially allow Python 3.11 and up
--> Resolves #1420
3.5.5 - Add a debugging option and improve reliability
Add a debugging option and improve reliability
- Add pytest option "--list-fail-page" to list URLs of failures
--> This resolves #1417 - Improve the reliability of js_click(selector)
--> This resolves #1418
3.5.4 - Handle edge cases with EdgeDriver and js_click()
Handle edge cases with EdgeDriver and js_click()
- Handle edge cases with EdgeDriver
--> This resolves #1415 - Handle edge cases with js_click()
--> This resolves #1416
3.5.3 - Reliability updates for Firefox and js_click()
Reliability updates for Firefox and js_click()
3.5.2 - Reduce required Python dependencies
Reduce required Python dependencies
3.5.1 - Add a Context Manager method for switching into iframes using a "with" statement
Add a Context Manager method for switching into iframes using a with
statement
- Add Context Manager frame_switch(frame). ("with" required)
- This resolves #1408
- Example usage:
with self.frame_switch(frame):
Here's an example test that demonstrates this feature:
from seleniumbase import BaseCase
class FrameTests(BaseCase):
def test_iframes_with_context_manager(self):
self.open("https://seleniumbase.io/w3schools/iframes.html")
with self.frame_switch("iframeResult"):
self.assert_text("HTML Iframes", "h2")
with self.frame_switch('[title*="Iframe"]'):
self.assert_text("This page is displayed in an iframe", "h1")
self.assert_text("Use CSS width & height to specify", "p")
with self.frame_switch('[title*="Iframe"]'):
self.assert_text("seleniumbase.io/w3schools/iframes", "a")
self.click("button#runbtn")
with self.frame_switch("iframeResult"):
self.highlight('iframe[title="Iframe Example"]')
3.5.0 - Drop support for Python 3.5
Drop support for Python 3.5
- Drop support for Python 3.5
--> This resolves #1404
--> (Note: Python 2.7 will continue to be supported for now.)