This commit is contained in:
aozhiwei 2019-10-11 17:31:44 +08:00
parent 25f9d4d953
commit 8cc62001fe

View File

@ -6,6 +6,7 @@ os.environ['DEBUG'] = '1'
browser = pychrome.Browser(url="http://192.168.100.137:9223") browser = pychrome.Browser(url="http://192.168.100.137:9223")
tab = browser.new_tab() tab = browser.new_tab()
tab.start() tab.start()
tab.call_method("Page.navigate", url="http://localhost:7456/", _timeout=5) tab.call_method("Page.navigate", url="http://localhost:7456/", _timeout=5)
tab.wait(5)
while True:
cmdline= input('')