Skip to content

Releases: seleniumbase/SeleniumBase

4.22.2 - Add a `"breakpoint"` option for reconnecting in UC Mode

23 Dec 05:29
9f8ce98

Choose a tag to compare

Add a "breakpoint" option for reconnecting in UC Mode

Other unrelated changes:


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

  • Add a "breakpoint" option for reconnecting in UC Mode by @mdmintz in #2385

Full Changelog: v4.22.1...v4.22.2

4.22.1 - Update UC Mode and Refactor

19 Dec 23:42
77c0ccd

Choose a tag to compare

4.22.0 - Fix bugs, refactor, and upgrade selenium

08 Dec 04:16
570910c

Choose a tag to compare

Fix bugs, refactor, and upgrade selenium

What's Changed

Full Changelog: v4.21.7...v4.22.0

4.21.7 - Update the UC Mode chromedriver patcher

01 Dec 22:00
01c98e2

Choose a tag to compare

Update the UC Mode chromedriver patcher

What's Changed

Full Changelog: v4.21.6...v4.21.7

4.21.6 - Additional Chromium Browsers

28 Nov 23:17
35b9d3d

Choose a tag to compare

Additional Chromium Browsers

What's Changed

Full Changelog: v4.21.5...v4.21.6

4.21.5 - Fix a Recorder bug, optimize things, and refresh dependencies

28 Nov 02:26
1c60c16

Choose a tag to compare

4.21.4 - Hide the "Find your downloads here" bubble on Chrome

17 Nov 00:03
7d9d5c5

Choose a tag to compare

Hide the "Find your downloads here" bubble on Chrome

What's Changed

  • Hide the "Find your downloads here" bubble on Chrome by @mdmintz in #2294

Full Changelog: v4.21.3...v4.21.4

4.21.3 - A few small updates

16 Nov 02:25
72bc798

Choose a tag to compare

A few small updates

What's Changed

Full Changelog: v4.21.2...v4.21.3

4.21.2 - Updates for UC Mode and more

15 Nov 02:26
5f68c82

Choose a tag to compare

4.21.1 - Prevent internal WebDriver issue from disrupting tests

10 Nov 01:40
2f5838d

Choose a tag to compare

Prevent internal WebDriver issue from disrupting tests

What's Changed

  • Prevent internal WebDriver issue from disrupting tests by @mdmintz in #2261

Full Changelog: v4.21.0...v4.21.1