NewUserID commited on
Commit
e0c87d3
1 Parent(s): 612f6ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -31,8 +31,6 @@ def main(url):
31
  else:
32
  driver.get("http://" + url)
33
 
34
- driver.execute_cdp_cmd("Page.setLifecycleEventsEnabled", {"enabled": True})
35
- driver.execute_cdp_cmd("Page.setPageLoadStrategy", {"strategy": "eager"})
36
  WebDriverWait(driver, 30).until(
37
  lambda d: d.execute_script("return document.readyState") == "complete"
38
  )
 
31
  else:
32
  driver.get("http://" + url)
33
 
 
 
34
  WebDriverWait(driver, 30).until(
35
  lambda d: d.execute_script("return document.readyState") == "complete"
36
  )