diff --git a/examples/github_test.py b/examples/github_test.py index c226e4c7404..0462b16f0cd 100644 --- a/examples/github_test.py +++ b/examples/github_test.py @@ -17,5 +17,5 @@ def test_github(self): self.assert_element("div.repository-content") self.assert_text("SeleniumBase", "strong a") self.click('a[title="seleniumbase"]') - self.slow_click('a:contains("fixtures")') - self.assert_element('a:contains("base_case.py")') + self.slow_click('a[aria-describedby="item-type-fixtures"]') + self.assert_element('a[aria-describedby="item-type-base_case.py"]')