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

Function main

examples/cdp_mode/raw_multi_cdp.py:8–16  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

6
7
8def main(url):
9 sb = sb_cdp.Chrome(lang="en")
10 sb.goto(url)
11 sb.set_window_rect(randint(4, 680), randint(8, 380), 840, 520)
12 sb.press_keys("input", "Text")
13 sb.highlight("button")
14 sb.click("button")
15 sb.sleep(2)
16 sb.quit()
17
18
19if __name__ == "__main__":

Callers

nothing calls this directly

Calls 7

quitMethod · 0.95
gotoMethod · 0.45
set_window_rectMethod · 0.45
press_keysMethod · 0.45
highlightMethod · 0.45
clickMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…