This commit is contained in:
@@ -533,7 +533,7 @@ def get_open_tabs_info(env, config: Dict[str, str]):
|
|||||||
], "shell": False})
|
], "shell": False})
|
||||||
|
|
||||||
headers = {"Content-Type": "application/json"}
|
headers = {"Content-Type": "application/json"}
|
||||||
requests.post("http://" + host + ":" + server_port + "/setup" + "/launch", headers=headers, data=payload)
|
requests.post(f"http://{host}:{server_port}/setup/launch", headers=headers, data=payload)
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
try:
|
try:
|
||||||
browser = p.chromium.connect_over_cdp(remote_debugging_url)
|
browser = p.chromium.connect_over_cdp(remote_debugging_url)
|
||||||
|
|||||||
Reference in New Issue
Block a user