We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c54d09 commit 0cb4193Copy full SHA for 0cb4193
examples/github_test.py
@@ -1,16 +1,13 @@
1
from seleniumbase import BaseCase
2
-import time
3
4
5
class GitHubTests(BaseCase):
6
7
# Selenium can trigger GitHub's abuse detection mechanism:
8
# "You have triggered an abuse detection mechanism."
9
# "Please wait a few minutes before you try again."
10
- # To avoid this, slow down Selenium actions.
11
- def slow_click(self, css_selector):
12
- time.sleep(1.05)
13
- self.click(css_selector)
+ # To avoid this, slow_click() is being used to
+ # slow down Selenium actions.
14
15
def test_github(self):
16
self.open("https://github.com/")
0 commit comments