Skip to content

Commit

Permalink
ci: update interop to accomodate breaking changes in Selenium API
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jul 9, 2023
1 parent ed254ba commit ed11dec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions interop/interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@

options = webdriver.ChromeOptions()
options.gpu = False
options.headless = True
options.binary_location = chrome_loc
options.add_argument("--no-sandbox")
options.add_argument("--enable-quic")
options.add_argument("--headless")
options.add_argument("--origin-to-force-quic-on=localhost:12345")
options.add_argument("--host-resolver-rules='MAP localhost:12345 127.0.0.1:12345'")

dc = DesiredCapabilities.CHROME
dc["goog:loggingPrefs"] = {"browser": "ALL"}
options.set_capability("goog:loggingPrefs", {"browser": "ALL"})

driver = webdriver.Chrome(
service=Service(ChromeDriverManager().install()),
options=options,
desired_capabilities=dc,
)
driver.get("http://localhost:8080/webtransport")

Expand Down

0 comments on commit ed11dec

Please sign in to comment.