File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def test_basic(self):
4343 #
4444 # 2. Most methods have the optional `timeout` argument. Ex:
4545 # [
46- # self.get_text('div center' , timeout=15)
46+ # self.get_text("#content" , timeout=15)
4747 # ]
4848 # The `timeout` argument tells the method how many seconds to wait
4949 # for an element to appear before raising an exception. This is
@@ -53,17 +53,17 @@ def test_basic(self):
5353 #
5454 # 3. There's usually more than one way to do the same thing. Ex:
5555 # [
56- # self.assert_text('free to copy', 'div center' )
56+ # self.assert_text("Hooray robots!", "#content" )
5757 # ]
5858 # Is the same as:
5959 # [
60- # text = self.get_text("div center ")
61- # self.assert_true("free to copy " in text)
60+ # text = self.get_text("#content ")
61+ # self.assert_true("Hooray robots! " in text)
6262 # ]
6363 # Or:
6464 # [
65- # text = self.find_element('div center' ).text
66- # assert("free to copy " in text)
65+ # text = self.find_element("#content" ).text
66+ # assert("Hooray robots! " in text)
6767 # ]
6868 #
6969 # And the following line:
You can’t perform that action at this time.
0 commit comments