<commit_before><commit_msg>Create a new tour example<commit_after>from seleniumbase import BaseCase


class MyTourClass(BaseCase):

    def test_google_maps_tour(self):
        self.open("https://www.google.com/maps/@42.3598616,-71.0912631,15z")
        self.wait_for_element("#searchboxinput")
        self.wait_for_element("#minimap")
        self.wait_for_element("#zoom")

        self.create_tour(theme="introjs")
        self.add_tour_step("Welcome to Google Maps!",
                           title="✅ SeleniumBase Tours 🌎")
        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")
        self.add_tour_step("Use this button to switch to Satellite view.",
                           "#minimap 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")
        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 using SeleniumBase Tours!",
                           title="🚃 End of Guided Tour 🚃")
        self.export_tour(filename="google_maps_introjs_tour.js")
        self.play_tour()
{'fraction_non_alphanumeric': 0.11662125340599455, 'fraction_numerical': 0.010899182561307902, 'mean_word_length': 2.2041884816753927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '813779', 'n_tokens_mistral': 540, 'n_tokens_neox': 497, 'n_words': 113}