Skip to content

Commit

Permalink
chore: fix deprecation warning, set chrome path
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Aug 29, 2023
1 parent 1991049 commit 2333761
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/pyodide_testrunner/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ def main():
driver_cls, options_cls = BROWSERS[os.environ.get("BROWSER", "chrome")]

options = options_cls()
options.headless = "CI" in os.environ
if "CI" in os.environ:
options.binary_location = "/usr/bin/google-chrome"
options.add_argument('--headless')

driver = driver_cls(options=options)
driver.get(f"http://localhost:{port}?whl={whl}")
Expand Down

0 comments on commit 2333761

Please sign in to comment.