from seleniumbase import BaseCase


class MyTourClass(BaseCase):

    def test_google_tour(self):
        self.open('https://google.com')
        self.wait_for_element('input[title="Search"]')
        self.create_tour(theme="dark")
        self.add_tour_step("Click to begin the Google Tour!",
                           title="SeleniumBase Guided Tours")
        self.add_tour_step("Type in your search query here.",
                           'input[title="Search"]')
        self.add_tour_step("Then click here to search!",
                           'input[value="Google Search"]',
                           alignment="bottom", theme="arrows")
        self.add_tour_step("Or click here to see the top result.",
                           '''[value="I'm Feeling Lucky"]''',
                           alignment="bottom", theme="arrows")
        self.add_tour_step("Here's an example Google search...",
                           theme="arrows")
        self.play_tour()

        self.highlight_update_text('input[title="Search"]', "GitHub")
        self.highlight_click('input[value="Google Search"]')
        self.create_tour(theme="dark")
        self.add_tour_step("Voila! Search results appear here!")
        self.add_tour_step("Let's take another tour...",
                           title="Ready for more?", theme="square")
        self.play_tour()

        self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
        self.wait_for_element('input#searchboxinput')
        self.create_tour(theme="dark")
        self.add_tour_step("Welcome to Google Maps!")
        self.add_tour_step("Type in a location here.",
                           "#searchboxinput", title="Search Box")
        self.add_tour_step("Then click here to show it on the map.",
                           "#searchbox-searchbutton", alignment="bottom")
        self.add_tour_step("Or click here to get driving directions.",
                           "#searchbox-directions",
                           alignment="bottom", theme="square-dark")
        self.add_tour_step("Use this button to switch to Satellite view.",
                           "div.widget-minimap", alignment="right")
        self.add_tour_step("Click here to zoom in.",
                           "#widget-zoom-in", alignment="left")
        self.add_tour_step("Or click here to zoom out.",
                           "#widget-zoom-out",
                           alignment="left", theme="default")
        self.add_tour_step("Use the Menu button to see more options.",
                           ".searchbox-hamburger-container", alignment="right")
        self.add_tour_step("Or click here to see more Google apps.",
                           '[title="Google apps"]', alignment="left")
        self.add_tour_step("Thanks for trying out SeleniumBase tours!",
                           title="End of Guided Tour", theme="square")
        self.play_tour()

@@ -178,32 +178,323 @@
 tle=%22Search%22%5D')%0A
+        try:%0A            # Remove the Privacy Checkup box if present.%0A            self.assert_text('Privacy Checkup', '%5Brole=%22dialog%22%5D', timeout=2)%0A            self.click('link=NO, THANKS')%0A        except Exception:%0A            pass  # Google may have removed the Privacy Checkup. Continue.%0A
         self.cre
@@ -773,32 +773,45 @@
 f.add_tour_step(
+%0A            
 %22Then click here
@@ -827,35 +827,8 @@
 h!%22,
-%0A                          
  'in
@@ -864,39 +864,24 @@
             
-          
-     
 alignment=%22b
@@ -923,32 +923,45 @@
 f.add_tour_step(
+%0A            
 %22Or click here t
@@ -996,31 +996,16 @@
         
-      
-         
 '''%5Bvalu
@@ -1031,31 +1031,16 @@
 y%22%5D''',%0A
-               
         
@@ -1202,33 +1202,85 @@
  self.play_tour(
-)
+interval=0)  # If interval is 0, tour is fully manual
 %0A%0A        self.h
@@ -1467,15 +1467,8 @@
 ep(%22
-Voila! 
 Sear
@@ -1491,16 +1491,75 @@
 r here!%22
+,%0A                           title=%22(5-second autoplay on)%22
 )%0A      
@@ -1700,17 +1700,68 @@
 ay_tour(
-)
+interval=5)  # tour automatically continues after 3s
 %0A%0A      
@@ -3316,9 +3316,56 @@
 y_tour()
+  # If interval isn't set, tour is fully manual
 %0A

Update the Google Tour example