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):
43
43
#
44
44
# 2. Most methods have the optional `timeout` argument. Ex:
45
45
# [
46
- # self.get_text('div center' , timeout=15)
46
+ # self.get_text("#content" , timeout=15)
47
47
# ]
48
48
# The `timeout` argument tells the method how many seconds to wait
49
49
# for an element to appear before raising an exception. This is
@@ -53,17 +53,17 @@ def test_basic(self):
53
53
#
54
54
# 3. There's usually more than one way to do the same thing. Ex:
55
55
# [
56
- # self.assert_text('free to copy', 'div center' )
56
+ # self.assert_text("Hooray robots!", "#content" )
57
57
# ]
58
58
# Is the same as:
59
59
# [
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)
62
62
# ]
63
63
# Or:
64
64
# [
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)
67
67
# ]
68
68
#
69
69
# And the following line:
You can’t perform that action at this time.
0 commit comments