MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / open_browser

Function open_browser

botasaurus_server/botasaurus_server/run.py:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def open_browser():
48# sleep(1)
49 while not is_server_ready('http://localhost:3000/'):
50 sleep(0.1)
51 # Wait for a few seconds before opening the browser
52 webbrowser.open('http://localhost:3000/')
53
54def open_browser_in_thread():
55 if not is_vmish:

Callers

nothing calls this directly

Calls 2

is_server_readyFunction · 0.85
sleepFunction · 0.50

Tested by

no test coverage detected