@@ -754,15 +754,15 @@ def __escape_quotes_if_needed(self, string):
754754 return js_utils .escape_quotes_if_needed (string )
755755
756756 def create_tour (self , name = None , theme = None ):
757- """ Creates a tour for a website. By default, the Shepherd Javascript
757+ """ Creates a tour for a website. By default, the Shepherd JavaScript
758758 Library is used with the Shepherd "Light" / "Arrows" theme.
759759 @Params
760760 name - If creating multiple tours at the same time,
761761 use this to select the tour you wish to add steps to.
762762 theme - Sets the default theme for the tour.
763763 Choose from "light"/"arrows", "dark", "default", "square",
764764 and "square-dark". ("arrows" is used if None is selected.)
765- Alternatively, you may use a different Javascript Library
765+ Alternatively, you may use a different JavaScript Library
766766 as the theme. Those include "IntroJS", "Bootstrap", and
767767 "Hopscotch".
768768 """
@@ -1169,7 +1169,7 @@ def export_tour(self, name=None, filename="my_tour.js"):
11691169 @Params
11701170 name - If creating multiple tours at the same time,
11711171 use this to select the tour you wish to add steps to.
1172- filename - The name of the javascript file that you wish to
1172+ filename - The name of the JavaScript file that you wish to
11731173 save the tour to. """
11741174 tour_helper .export_tour (self ._tour_steps , name = name , filename = filename )
11751175
@@ -1515,7 +1515,7 @@ def assert_downloaded_file(self, file):
15151515 assert os .path .exists (self .get_path_of_downloaded_file (file ))
15161516
15171517 def assert_no_js_errors (self ):
1518- """ Asserts that there are no Javascript errors on the page.
1518+ """ Asserts that there are no JavaScript errors on the page.
15191519 Only looks for "SEVERE"-level errors.
15201520 Works best when using Chrome.
15211521 Does NOT work on Firefox:
@@ -1535,7 +1535,7 @@ def assert_no_js_errors(self):
15351535 if len (errors ) > 0 :
15361536 current_url = self .get_current_url ()
15371537 raise Exception (
1538- "Javascript errors found on %s => %s" % (current_url , errors ))
1538+ "JavaScript errors found on %s => %s" % (current_url , errors ))
15391539
15401540 def get_google_auth_password (self , totp_key = None ):
15411541 """ Returns a time-based one-time password based on the
0 commit comments