File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.io/cdn/img/sb_logo_f6.png " alt =" SeleniumBase " width =" 330 " /></a ></p >
1
+ <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.io/cdn/img/sb_logo_f6.png " alt =" SeleniumBase " width =" 445 " /></a ></p >
2
2
3
3
## [ <img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 32 " >] ( https://github.com/seleniumbase/SeleniumBase/ ) Automated Visual Regression Testing
4
4
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ class TestMFALogin(BaseCase):
31
31
self .enter_mfa_code(" #totpcode" , " GAXG2MTEOR3DMMDG" ) # 6-digit
32
32
self .assert_text(" Welcome!" , " h1" )
33
33
self .highlight(" img#image1" ) # A fancier assert_element() call
34
- self .click(' a:contains("This Page")' )
34
+ self .click(' a:contains("This Page")' ) # Use :contains() on any tag
35
35
self .save_screenshot_to_logs() # In "./latest_logs/" folder.
36
- self .click_link(" Sign out" ) # Must be "a" tag. Not "button".
36
+ self .click_link(" Sign out" ) # Link must be "a" tag. Not "button".
37
37
self .assert_element(' a:contains("Sign in")' )
38
38
self .assert_exact_text(" You have been signed out!" , " #top_message" )
39
39
```
You can’t perform that action at this time.
0 commit comments