Skip to content

Commit 6150e7b

Browse files
committed
Update tour examples
1 parent 60466df commit 6150e7b

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

examples/tour_examples/bootstrap_google_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ def test_google_tour(self):
6262
self.add_tour_step(
6363
"Thanks for trying out SeleniumBase Tours!",
6464
title="End of Guided Tour")
65+
self.export_tour(filename="bootstrap_google_maps_tour.js")
6566
self.play_tour()

examples/tour_examples/google_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,5 @@ def test_google_tour(self):
7171
self.add_tour_step(
7272
"Thanks for trying out SeleniumBase Tours!",
7373
title="End of Guided Tour")
74+
self.export_tour()
7475
self.play_tour()

examples/tour_examples/hopscotch_google_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ def test_google_tour(self):
6363
self.add_tour_step(
6464
"Thanks for trying out SeleniumBase Tours!",
6565
title="End of Guided Tour")
66+
self.export_tour(filename="hopscotch_google_maps_tour.js")
6667
self.play_tour()

examples/tour_examples/introjs_google_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ def test_google_tour(self):
6262
self.add_tour_step(
6363
"Thanks for trying out SeleniumBase Tours!",
6464
title="End of Guided Tour")
65+
self.export_tour(filename="introjs_google_maps_tour.js")
6566
self.play_tour()

examples/tour_examples/shepherd_google_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ def test_google_tour(self):
6666
self.add_tour_step(
6767
"Thanks for trying out SeleniumBase Tours!",
6868
title="End of Guided Tour", theme="light")
69+
self.export_tour(filename="shepherd_google_maps_tour.js")
6970
self.play_tour()

examples/tour_examples/xkcd_tour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ def test_basic(self):
1818
self.add_tour_step("This selects a random comic.", 'a[href*="random"]')
1919
self.add_tour_step("Thanks for taking this tour!")
2020
# 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
2122
self.play_tour()

0 commit comments

Comments
 (0)