@@ -754,15 +754,15 @@ def __escape_quotes_if_needed(self, string):
754
754
return js_utils .escape_quotes_if_needed (string )
755
755
756
756
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
758
758
Library is used with the Shepherd "Light" / "Arrows" theme.
759
759
@Params
760
760
name - If creating multiple tours at the same time,
761
761
use this to select the tour you wish to add steps to.
762
762
theme - Sets the default theme for the tour.
763
763
Choose from "light"/"arrows", "dark", "default", "square",
764
764
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
766
766
as the theme. Those include "IntroJS", "Bootstrap", and
767
767
"Hopscotch".
768
768
"""
@@ -1169,7 +1169,7 @@ def export_tour(self, name=None, filename="my_tour.js"):
1169
1169
@Params
1170
1170
name - If creating multiple tours at the same time,
1171
1171
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
1173
1173
save the tour to. """
1174
1174
tour_helper .export_tour (self ._tour_steps , name = name , filename = filename )
1175
1175
@@ -1515,7 +1515,7 @@ def assert_downloaded_file(self, file):
1515
1515
assert os .path .exists (self .get_path_of_downloaded_file (file ))
1516
1516
1517
1517
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.
1519
1519
Only looks for "SEVERE"-level errors.
1520
1520
Works best when using Chrome.
1521
1521
Does NOT work on Firefox:
@@ -1535,7 +1535,7 @@ def assert_no_js_errors(self):
1535
1535
if len (errors ) > 0 :
1536
1536
current_url = self .get_current_url ()
1537
1537
raise Exception (
1538
- "Javascript errors found on %s => %s" % (current_url , errors ))
1538
+ "JavaScript errors found on %s => %s" % (current_url , errors ))
1539
1539
1540
1540
def get_google_auth_password (self , totp_key = None ):
1541
1541
""" Returns a time-based one-time password based on the
0 commit comments