Skip to content

Commit 5f12860

Browse files
committed
Update examples
1 parent e475103 commit 5f12860

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

examples/custom_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Default timeout values for waiting for page elements to appear.
77
MINI_TIMEOUT = 2
8-
SMALL_TIMEOUT = 6
8+
SMALL_TIMEOUT = 7
99
LARGE_TIMEOUT = 10
1010
EXTREME_TIMEOUT = 30
1111

examples/youtube_search_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
class YouTubeSearchTests(BaseCase):
55
def test_youtube_autocomplete_results(self):
66
"""Verify YouTube autocomplete search results."""
7+
if self.headless:
8+
self.open("about:blank")
9+
message = "This test is skipped in headless mode."
10+
print(message)
11+
self.skip(message)
712
self.open("https://www.youtube.com/c/MichaelMintz")
813
search_term = "seleniumbase"
914
search_selector = "input#search"

0 commit comments

Comments
 (0)