Skip to content

Commit 4f33353

Browse files
committed
Update an example test
1 parent ee5510a commit 4f33353

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/verify_undetected.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class UndetectedTest(BaseCase):
1010
def test_browser_is_undetected(self):
1111
self.open("https://nowsecure.nl")
1212
try:
13-
self.assert_text("OH YEAH, you passed!", "h1", timeout=6.6)
14-
self.post_message("Browser wasn't detected!", duration=1.6)
15-
self._print("\n Success! Website did not detect Selenium!")
13+
self.assert_text("OH YEAH, you passed!", "h1", timeout=6.75)
14+
self.post_message("Selenium wasn't detected!", duration=1.6)
15+
self._print("\n Success! Website did not detect Selenium! ")
1616
except Exception:
17-
self.fail('Browser was detected! Try using: "pytest --uc"')
17+
self.fail('Selenium was detected! Try using: "pytest --uc"')

0 commit comments

Comments
 (0)