Splunk AppDynamics

Override default synthetic webdriver to accept untrusted certificate

David_Machacek
New Member

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.

Labels (1)
0 Karma

Noopur_Tibdiwal
Explorer

@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

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...