Skip to content

Commit 61ca144

Browse files
committed
Update a SeleniumBase tour example
1 parent 118c33f commit 61ca144

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

examples/tour_examples/xkcd_tour.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ def test_basic(self):
1212
self.add_tour_step("Here's the daily webcomic.", "#comic img")
1313
self.add_tour_step("This is the title.", "#ctitle", alignment="top")
1414
self.add_tour_step("Click here for the next comic.", 'a[rel="next"]')
15-
self.add_tour_step("Or here for the previous comic.", 'a[rel="prev"]')
15+
self.add_tour_step("Click here for the previous one.", 'a[rel="prev"]')
1616
self.add_tour_step("Learn about the author here.", 'a[rel="author"]')
17-
self.add_tour_step("Click for the license here.", 'a[rel="license"]')
18-
self.add_tour_step("This selects a random comic.", 'a[href*="random"]')
17+
self.add_tour_step("Click here for the license.", 'a[rel="license"]')
18+
self.add_tour_step("Click for a random comic.", 'a[href*="/random/"]')
1919
self.add_tour_step("Thanks for taking this tour!")
20-
# self.export_tour() # Use this to export the tour as [my_tour.js]
21-
self.export_tour(filename="xkcd_tour.js") # You can customize the name
22-
self.play_tour()
20+
self.export_tour(filename="xkcd_tour.js") # This exports the tour
21+
self.play_tour() # This plays the tour

0 commit comments

Comments
 (0)