Skip to content

Commit 4b8044c

Browse files
committed
Update test comments
1 parent e1046cf commit 4b8044c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/my_first_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@ def test_basic(self):
7272
#
7373
# The following line:
7474
# [
75-
# caption = self.get_attribute('#comic img', 'title')
75+
# title = self.get_attribute('#comic img', 'title')
7676
# ]
7777
# Can also be written as:
7878
# [
79-
# image_object = self.find_element('#comic img')
80-
# caption = image_object.get_attribute('title')
79+
# element = self.find_element('#comic img')
80+
# title = element.get_attribute('title')
8181
# ]
8282
#
8383
# And the following line:
8484
# [
85-
# header_text = self.get_text('header h2')
85+
# text = self.get_text("div center")
8686
# ]
8787
# Can also be written as:
8888
# [
89-
# header_text = self.find_element('header h2').text
89+
# text = self.find_element('div center').text
9090
# ]
9191
# ...and in many more ways!
9292
#

0 commit comments

Comments
 (0)