MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / __is_cdp_swap_needed

Function __is_cdp_swap_needed

seleniumbase/core/browser_launcher.py:467–469  ·  view source on GitHub ↗

If the driver is disconnected, use a CDP method when available.

(driver)

Source from the content-addressed store, hash-verified

465
466
467def __is_cdp_swap_needed(driver):
468 """If the driver is disconnected, use a CDP method when available."""
469 return shared_utils.is_cdp_swap_needed(driver)
470
471
472def uc_execute_cdp_cmd(driver, *args, **kwargs):

Callers 9

uc_openFunction · 0.70
uc_open_with_tabFunction · 0.70
uc_open_with_reconnectFunction · 0.70
uc_open_with_disconnectFunction · 0.70
uc_clickFunction · 0.70
get_gui_element_positionFunction · 0.70
uc_gui_click_x_yFunction · 0.70
_uc_gui_click_captchaFunction · 0.70
_uc_gui_handle_captcha_Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…