This commit is contained in:
aozhiwei 2019-10-11 16:58:26 +08:00
parent 89d4afa65c
commit a57249f3c4

12
scripts/cdb/cdb.py Normal file
View 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)