23 Jan 2019 05:36 PM - last edited on 28 Jun 2021 01:39 PM by MaciejNeumann
Has anyone been able to enable and configure the Dynatrace Chrome extension when running Chrome via Selenium webdriver? Currently I'm able to enable the extension via ChromeOptions and also via a custom user-data-dir but the url to fetch the Dynatrace configuration is never saved after the test run is complete. Is there a way to preset the url?
Solved! Go to Solution.
24 Jan 2019 07:53 AM
Hi @Tony C.,
You can preset the url via an extension policy. See https://www.dynatrace.com/support/help/shortlink/r... for details. I think there should be a way to do this in combination with selenium as well. (Never tried though)
May I ask what's your use case for driving the RUM browser extension via selenium?
Kind regards, Philipp
24 Jan 2019 12:55 PM
Hi Phillip,
My long term implementation will utilize the extension policy as suggested. We have an existing set of .NET tests that has a framework built on top of Selenium so we were looking to use those to baseline and test a network upgrade we're doing. I was able to get it working by unpacking the extension and defaulting the url in the globalConfig (definitely temporary). We just activated our subscription so I will try manually setting the extension policy on the actual test devices we're going to use.
Thanks,
Tony