File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1615,6 +1615,18 @@ def assert_downloaded_file(self, file):
1615
1615
""" Asserts that the file exists in the Downloads Folder. """
1616
1616
assert os .path .exists (self .get_path_of_downloaded_file (file ))
1617
1617
1618
+ def assert_true (self , expr , msg = None ):
1619
+ self .assertTrue (expr , msg = None )
1620
+
1621
+ def assert_false (self , expr , msg = None ):
1622
+ self .assertFalse (expr , msg = None )
1623
+
1624
+ def assert_equal (self , first , second , msg = None ):
1625
+ self .assertEqual (first , second , msg = None )
1626
+
1627
+ def assert_not_equal (self , first , second , msg = None ):
1628
+ self .assertNotEqual (first , second , msg = None )
1629
+
1618
1630
def assert_no_js_errors (self ):
1619
1631
""" Asserts that there are no JavaScript "SEVERE"-level page errors.
1620
1632
Works ONLY for Chrome (non-headless) and Chrome-based browsers.
You can’t perform that action at this time.
0 commit comments