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

Function __is_cdp_swap_needed

seleniumbase/core/log_helper.py:17–19  ·  view source on GitHub ↗

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

(driver)

Source from the content-addressed store, hash-verified

15
16
17def __is_cdp_swap_needed(driver):
18 """If the driver is disconnected, use a CDP method when available."""
19 return shared_utils.is_cdp_swap_needed(driver)
20
21
22def log_screenshot(test_logpath, driver, screenshot=None, get=False):

Callers 2

log_page_sourceFunction · 0.70
get_last_pageFunction · 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…