From 5c78b7cca30a0274440fb75a5f9d51caf77bb68b Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 2 Jun 2023 23:56:53 +0200 Subject: [PATCH] Update test_workflow.py --- example/test_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/test_workflow.py b/example/test_workflow.py index 3036da2..345fb22 100644 --- a/example/test_workflow.py +++ b/example/test_workflow.py @@ -10,7 +10,7 @@ from selenium.webdriver.support.wait import WebDriverWait import undetected_chromedriver as uc def main(): - driver = uc.Chrome(browser_executable_path="/opt/hostedtoolcache/chromium/latest/x64/chrome", headless=True) + driver = uc.Chrome(headless=True) driver.get("https://nowsecure.nl") WebDriverWait(driver, 15).until(EC.text_to_be_present_in_element(("css selector", "main h1"), "OH YEAH, you passed!")) driver.quit()