Skip to content

Commit efebe49

Browse files
committed
Update an example test
1 parent 9ecd0c4 commit efebe49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_apple_site.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def test_apple_developer_site_webdriver_instructions(self):
2323
self.assert_element("nav.documentation-nav")
2424
self.assert_text(title, "h1")
2525
self.assert_text("Enable WebDriver and run a test.", "div.abstract")
26-
self.highlight("h2")
27-
h3 = "h3:nth-of-type(%s)"
26+
self.highlight("div.content h2")
27+
h3 = "div.content h3:nth-of-type(%s)"
2828
self.assert_text("Make Sure You Have Safari’s WebDriver", h3 % "1")
2929
self.assert_text("Get the Correct Selenium Library", h3 % "2")
3030
self.assert_text("Configure Safari to Enable WebDriver", h3 % "3")

0 commit comments

Comments
 (0)