Releases: seleniumbase/SeleniumBase
4.22.3 - Expand `firefox_pref` to allow URLs as VALUEs in `KEY:VALUE` pairs
Expand firefox_pref
to allow URLs as VALUEs in KEY:VALUE
pairs
- Expand firefox_pref="KEY:VALUE" to allow URLs as VALUEs
--> This resolves #2386
--> This resolves #2387 - Also: Refresh Python dependencies
What's Changed
Full Changelog: v4.22.2...v4.22.3
4.22.2 - Add a `"breakpoint"` option for reconnecting in UC Mode
Add a "breakpoint"
option for reconnecting in UC Mode
- Add "breakpoint" option for reconnecting in UC Mode
--> This resolves #2384
Other unrelated changes:
- Add "brave" to valid Chromium binary_location filenames
- Update coverage version in optional dependencies
More details:
Currently, some UC Mode methods let you set a custom reconnect_time
/ timeout
(in seconds) to specify how long the driver should be disconnected from Chrome to prevent detection before reconnecting again. The new plan here is to add an option of "breakpoint"
for that arg's value. Doing this should drop in a Python breakpoint()
while the driver is disconnected from the browser. This will allow the user to perform manual actions (until typing c
and pressing ENTER to continue from the breakpoint).
Here are those existing methods: (Use self.driver
for BaseCase
formats. Use sb.driver
for SB()
formats):
driver.uc_open_with_reconnect(url, reconnect_time)
# Examples:
driver.uc_open_with_reconnect("https://nowsecure.nl/#relax", reconnect_time=5)
driver.uc_open_with_reconnect("https://nowsecure.nl/#relax", 5)
driver.reconnect(timeout)
# Examples:
driver.reconnect(5)
driver.reconnect(timeout=5)
With this change, you'll now be able to set the reconnect_time
/ timeout
to "breakpoint"
as a valid option.
Instead of waiting for a set time, the program will run a Python breakpoint()
so that the user will be able to continue when ready (using c
+ ENTER):
Examples that should work once this ticket is completed:
driver.uc_open_with_reconnect("https://nowsecure.nl/#relax", reconnect_time="breakpoint")
driver.uc_open_with_reconnect("https://nowsecure.nl/#relax", "breakpoint")
driver.reconnect(timeout="breakpoint")
driver.reconnect("breakpoint")
What's Changed
Full Changelog: v4.22.1...v4.22.2
4.22.1 - Update UC Mode and Refactor
Update UC Mode and Refactor
- Fix UC Mode headless issue on macOS for Chrome 120+
--> This resolves #2375 - Update default reconnect_time from 2.27 to 2.28 seconds
- Allow binary_location selection to support WSL
- Do some refactoring
- Refresh Python dependencies
What's Changed
Full Changelog: v4.22.0...v4.22.1
4.22.0 - Fix bugs, refactor, and upgrade selenium
Fix bugs, refactor, and upgrade selenium
- Fix bugs related to driver.capabilities["browserName"]
--> This resolves #2343 - Do some refactoring
- Upgrade to
selenium==4.16.0
- Update example tests
What's Changed
Full Changelog: v4.21.7...v4.22.0
4.21.7 - Update the UC Mode chromedriver patcher
Update the UC Mode chromedriver patcher
- Update the UC Mode chromedriver patcher
--> This resolves #2332: (UC Mode): Traces of chromedriver found in Chrome Devtools Console
What's Changed
Full Changelog: v4.21.6...v4.21.7
4.21.6 - Additional Chromium Browsers
Additional Chromium Browsers
- Add Chromium browsers for use via "binary_location"
--> This resolves #2324
What's Changed
Full Changelog: v4.21.5...v4.21.6
4.21.5 - Fix a Recorder bug, optimize things, and refresh dependencies
Fix a Recorder bug, optimize things, and refresh dependencies
- Fix a Recorder bug caused by Python PATH whitespace
--> This resolves #2320 - Improve the error message when Chrome is not installed in UC Mode
- Optimize headless mode output on Windows when possible
- Refresh Python dependencies
What's Changed
Full Changelog: v4.21.4...v4.21.5
4.21.4 - Hide the "Find your downloads here" bubble on Chrome
Hide the "Find your downloads here
" bubble on Chrome
- Hide the "Find your downloads here" bubble on Chrome
- This resolves #2293
What's Changed
Full Changelog: v4.21.3...v4.21.4
4.21.3 - A few small updates
A few small updates
- Fix a Windows issue with UC Mode
--> This resolves #2289 - Improve compatibility with Appium
--> This resolves #2287 - Refresh Python dependencies
What's Changed
Full Changelog: v4.21.2...v4.21.3
4.21.2 - Updates for UC Mode and more
Updates for UC Mode and more
- Add "driver.uc_switch_to_frame(frame)"
--> This resolves #2282 - Do some UC Mode refactoring
- Do some refactoring
- Add driver methods
- Add option for setting "--host-resolver-rules=RULES"
--> This resolves #2281 - Refresh Python dependencies
What's Changed
Full Changelog: v4.21.1...v4.21.2