File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -74,5 +74,9 @@ def test_demo_page(self):
74
74
self .assert_true (self .is_selected ("#checkBox3" ))
75
75
self .assert_true (self .is_selected ("#checkBox4" ))
76
76
77
+ # Assert link text - Use click_link_text() to click
78
+ self .assert_link_text ("seleniumbase.com" )
79
+ self .assert_link_text ("SeleniumBase on GitHub" )
80
+
77
81
# Assert the title of the current web page
78
82
self .assert_title ("Web Testing Page" )
Original file line number Diff line number Diff line change @@ -71,5 +71,9 @@ def test_demo_site(self):
71
71
self .assert_true (self .is_selected ("#checkBox3" ))
72
72
self .assert_true (self .is_selected ("#checkBox4" ))
73
73
74
+ # Assert link text - Use click_link_text() to click
75
+ self .assert_link_text ("seleniumbase.com" )
76
+ self .assert_link_text ("SeleniumBase on GitHub" )
77
+
74
78
# Assert the title of the current web page
75
79
self .assert_title ("Web Testing Page" )
You can’t perform that action at this time.
0 commit comments