From 42ec94a08b6018ab501295cbf08cd7cc6dccb39e Mon Sep 17 00:00:00 2001 From: Yan Date: Mon, 27 Jan 2025 19:30:42 -0700 Subject: [PATCH] set the path. Thanks to supercoolspy for the fix --- pwnshop/templates/base/selenium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnshop/templates/base/selenium.py b/pwnshop/templates/base/selenium.py index 359b439..27dd99f 100755 --- a/pwnshop/templates/base/selenium.py +++ b/pwnshop/templates/base/selenium.py @@ -21,7 +21,7 @@ options = FirefoxOptions() options.add_argument("--headless") -service = FirefoxService(log_path="/dev/null") +service = FirefoxService(log_path="/dev/null", executable_path=shutils.which("geckodriver")) browser = webdriver.Firefox(service=service, options=options) atexit.register(browser.quit)