Skip to content

Commit 92a9768

Browse files
committed
Fix uc_gui_click_captcha() on Windows
1 parent a014dc9 commit 92a9768

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,8 @@ def _uc_gui_click_captcha(
12491249
ctype=None,
12501250
):
12511251
cdp_mode_on_at_start = __is_cdp_swap_needed(driver)
1252+
if cdp_mode_on_at_start and (not ctype or ctype == "cf_t"):
1253+
return driver.cdp.gui_click_captcha()
12521254
_on_a_captcha_page = None
12531255
if ctype == "cf_t":
12541256
if not _on_a_cf_turnstile_page(driver):

0 commit comments

Comments
 (0)