diff --git a/staging/selenium/README.md b/staging/selenium/README.md index 2fb33b3d0..090666766 100644 --- a/staging/selenium/README.md +++ b/staging/selenium/README.md @@ -136,7 +136,7 @@ def check_browser(browser): ) driver.get("http://google.com") assert "google" in driver.page_source - driver.close() + driver.quit() print("Browser %s checks out!" % browser) diff --git a/staging/selenium/selenium-test.py b/staging/selenium/selenium-test.py index 80d598a3b..f3d99e3bf 100644 --- a/staging/selenium/selenium-test.py +++ b/staging/selenium/selenium-test.py @@ -24,7 +24,7 @@ def check_browser(browser): ) driver.get("http://google.com") assert "google" in driver.page_source - driver.close() + driver.quit() print("Browser %s checks out!" % browser)