This commit is contained in:
aozhiwei 2019-10-12 11:14:50 +08:00
parent 2615ae34f7
commit 772bc1b6bb

View File

@ -20,8 +20,8 @@ def initTab(tab):
browser = pychrome.Browser(url="http://192.168.100.137:9223")
tab = browser.new_tab()
scriptmgr = scriptmgr.ScriptMgr(tab)
initTab(tab)
tab.start()
initTab(tab)
tab.call_method("Page.navigate", url="http://localhost:7456/", _timeout=5)
while True: