Skip to content

Commit b3dd883

Browse files
committed
Update an example in the comments
1 parent 9e8c7c7 commit b3dd883

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ class MyTestClass(BaseCase):
2020
def test_anything(self):
2121
# Write your code here. Example:
2222
self.open("https://github.com/")
23-
self.type("input.header-search-input", "SeleniumBase\n")
23+
self.click('span[data-target*="inputButtonText"]')
24+
self.type("input#query-builder-test", "SeleniumBase\n")
2425
self.click('a[href="/seleniumbase/SeleniumBase"]')
2526
self.assert_element("div.repository-content")
27+
self.assert_text("SeleniumBase", "strong a")
2628
# --------------------------------------------------------------
2729

2830
SeleniumBase methods expand and improve on existing WebDriver commands.

0 commit comments

Comments
 (0)