Skip to content

Commit 6523458

Browse files
committed
updates selenium_helpers.py - adds 2 args for chrome desired_capabilities for ignoring cert and ssl errors
1 parent d559897 commit 6523458

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

the_ark/selenium_helpers.py

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ def create_driver(self, **desired_capabilities):
4747
if desired_capabilities.get("headless"):
4848
options.add_argument("headless")
4949
options.add_argument("disable-gpu")
50+
options.add_argument('--ignore-ssl-errors=yes')
51+
options.add_argument('--ignore-certificate-errors')
5052

5153
# Update the scale factor (default is 2 in Chrome). Affects the resolution of screenshots, etc.
5254
if desired_capabilities.get("scale_factor"):

0 commit comments

Comments
 (0)