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 ac55fc4 commit 5a7c52bCopy full SHA for 5a7c52b
examples/test_apple_site.py
@@ -23,7 +23,10 @@ def test_apple_developer_site_webdriver_instructions(self):
23
self.assert_element("nav.documentation-nav")
24
self.assert_text(title, "h1")
25
self.assert_text("Enable WebDriver and run a test.", "div.abstract")
26
- self.highlight("div.content h2")
+ if self.demo_mode:
27
+ self.highlight("div.content h2")
28
+ else:
29
+ self.assert_element("div.content h2")
30
h3 = "div.content h3:nth-of-type(%s)"
31
self.assert_text("Make Sure You Have Safari’s WebDriver", h3 % "1")
32
self.assert_text("Get the Correct Selenium Library", h3 % "2")
0 commit comments