Skip to content

Commit

Permalink
Bug fix the path to chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
asset-web committed Oct 24, 2023
1 parent 4fa95cc commit 2c66189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base_selenium_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def setUpClass(cls):
cls.display = Display(visible=0, size=(1920, 1080))
cls.display.start()
# ref: https://github.com/SeleniumHQ/selenium/issues/12746
service = webdriver.ChromeService(executable_path="../../../bin/chromedriver")
service = webdriver.ChromeService(executable_path=settings.BASE_DIR + "/../../../bin/chromedriver")
cls.driver = webdriver.Chrome(service=service)
cls.driver.implicitly_wait(10)

Expand Down

0 comments on commit 2c66189

Please sign in to comment.