cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Override default synthetic webdriver to accept untrusted certificate

David.Machacek
Voyager

We are trying to write a python synthetic script to monitor our websites (https://docs.appdynamics.com/appd/4.5.x/en/end-user-monitoring/browser-monitoring/browser-synthetic-....

Some scripts needed to access our websites require downloading JS scripts from our internal hosts with untrusted certificates (we use internal CA). How can I initialize my own driver with my own capabilities?

I.E.

caps = webdriver.DesiredCapabilities.CHROME.copy()
caps['acceptInsecureCerts'] = True
driver = webdriver.Chrome(desired_capabilities=caps)

gets overrided by

WARNING: A Driver object is created automatically and is available as a local variable called `driver`.
Ignoring call to `Chrome` on line 22 by returning `driver` reference.

1 REPLY 1

Noopur.Tibdiwal
AppDynamics Team

@David.Machacek : If the issue is not already resolved it's best if you create a Support ticket for end to end review of agent setup.

How do I submit a Support ticket? An FAQ 

Regards,

Noopur

Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors