Skip to content

Commit e41ff8c

Browse files
committed
Update an example test
1 parent 3dc9770 commit e41ff8c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/test_download_files.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ def test_download_files_from_pypi(self):
4141
self.browser == "safari"
4242
or self.browser == "ie"
4343
or (self.is_chromium() and self.guest_mode and not self.headless)
44-
or (
45-
self.browser == "chrome"
46-
and self.is_chromedriver_too_old()
47-
and self.headless
48-
)
44+
or (self.undetectable and (self.headless or self.headless2))
4945
):
5046
whl_href = self.get_attribute(whl_selector, "href")
5147
tar_href = self.get_attribute(tar_selector, "href")

0 commit comments

Comments
 (0)