1
This commit is contained in:
parent
89d4afa65c
commit
a57249f3c4
12
scripts/cdb/cdb.py
Normal file
12
scripts/cdb/cdb.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import os
|
||||||
|
import pychrome
|
||||||
|
|
||||||
|
os.putenv('DEBUG', '1')
|
||||||
|
|
||||||
|
print(os.getenv('DEBUG'))
|
||||||
|
browser = pychrome.Browser(url="http://192.168.100.137:9223")
|
||||||
|
tab = browser.new_tab()
|
||||||
|
tab.start()
|
||||||
|
|
||||||
|
tab.call_method("Page.navigate", url="http://localhost:7456/", _timeout=5)
|
||||||
|
tab.wait(5)
|
Loading…
x
Reference in New Issue
Block a user