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 642957d commit d67d6d7Copy full SHA for d67d6d7
examples/shadow_root_test.py
@@ -0,0 +1,14 @@
1
+from seleniumbase import BaseCase
2
+
3
4
+class ShadowRootTest(BaseCase):
5
+ def test_shadow_root(self):
6
+ self.open("https://react-shadow.herokuapp.com/Patagonia")
7
+ self.click("section.weather::shadow div::shadow button")
8
+ self.assert_element('section.weather::shadow img[alt="Patagonia"]')
9
+ weather = self.get_text("section.weather::shadow h1")
10
+ self.post_message(weather)
11
+ self.click('section.weather::shadow a[href="/Kyoto"]')
12
+ self.assert_element('section.weather::shadow img[alt="Kyoto"]')
13
14
0 commit comments