Skip to content

Commit

Permalink
fix(test): Correct chromedriver options for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinci1it2000 committed Jan 12, 2025
1 parent 504ce5e commit fefdd72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/utils/test_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def setUpClass(cls):

chromedriver_autoinstaller.install()
options = webdriver.ChromeOptions()
options.add_argument('--no-sandbox')
options.add_argument('--headless')
options.add_argument('--disable-dev-shm-usage')
options.add_argument("--incognito")
cls.driver = driver = webdriver.Chrome(options=options)
driver.implicitly_wait(2)
Expand Down

0 comments on commit fefdd72

Please sign in to comment.