Skip to content

Commit d76d8f4

Browse files
committed
Update the ReadMe
1 parent 09aea8b commit d76d8f4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,19 +181,19 @@ from seleniumbase import BaseCase
181181
class 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

Comments
 (0)