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

Function main

examples/cdp_mode/raw_muse_async.py:6–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6async def main():
7 url = "https://muse.jhu.edu/verify"
8 driver = await cdp_driver.start_async(guest=True)
9 page = await driver.get(url)
10 await page.sleep(2.5)
11 await page.solve_captcha()
12 await page.sleep(4)
13 await page.find('#search_input')
14 await page.sleep(3)
15
16if __name__ == "__main__":
17 asyncio.run(main())

Callers 1

raw_muse_async.pyFile · 0.70

Calls 4

findMethod · 0.80
getMethod · 0.45
sleepMethod · 0.45
solve_captchaMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…