@@ -181,19 +181,19 @@ from seleniumbase import BaseCase
181181class MyTestClass (BaseCase ):
182182
183183 def test_basic (self ):
184- self .open(' https://xkcd.com/353/' )
184+ self .open(" https://xkcd.com/353/" )
185185 self .assert_element(' img[alt="Python"]' )
186186 self .click(' a[rel="license"]' )
187- self .assert_text(' free to copy' , ' div center' )
187+ self .assert_text(" free to copy" , " div center" )
188188 self .open(" https://xkcd.com/1481/" )
189189 title = self .get_attribute(" #comic img" , " title" )
190190 self .assert_true(" 86,400 seconds per day" in title)
191- self .click(' link=Blag' )
192- self .assert_text(' The blag of the webcomic' , ' h2 ' )
193- self .update_text(' input#s' , ' Robots!\n ' )
194- self .assert_text(' Hooray robots!' , ' #content' )
195- self .open(' https://xkcd.com/1319/' )
196- self .assert_text( ' Automation' , ' div #ctitle' )
191+ self .click(" link=Blag" )
192+ self .assert_text(" The blag of the webcomic" , " h2 " )
193+ self .update_text(" input#s" , " Robots!\n " )
194+ self .assert_text(" Hooray robots!" , " #content" )
195+ self .open(" https://xkcd.com/1319/" )
196+ self .assert_exact_text( " Automation" , " #ctitle" )
197197```
198198(<i >By default, [ CSS Selectors] ( https://www.w3schools.com/cssref/css_selectors.asp ) are used for finding page elements.</i >)
199199
0 commit comments