Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a-maliarov committed May 14, 2023
1 parent e8dd857 commit 151e92c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def test_content_type_error(self):
self.assertTrue('is not supported as a Content-Type' in str(context.exception))

def test_fromdriver(self):
capabilities = webdriver.ChromeCapabilities()
capabilities.add_argument('--headless')
capabilities.add_argument('--no-sandbox')
driver = webdriver.ChromeDriver(ChromeDriverManager().install(), desired_capabilities = capabilities.desired)
options = webdriver.ChromeOptions()
options.add_argument('no-sandbox')
options.add_argument('headless')
driver = webdriver.Chrome(ChromeDriverManager().install(), options=options, keep_alive=False)

solutions = list()
for i in range(5):
Expand Down

0 comments on commit 151e92c

Please sign in to comment.