Comments have been closed on this page. Please use AppMon & UEM Open Q & A forum for questions about this plugin.

Outdated content


See Test Automation Samples Library for Selenium Integration Samples


Selenium is a free Web Application Testing System which has gained a lot of popularity since it became available. Its integration into FireFox - which allows instant record/replay as well as the scripting option - makes it a great tool for functional web testing.
BrowserMob on the other side leverages Selenium by providing an automated load-testing environment for Selenium scripts all configurable online via a Web Dashboard.

Selenium also offers writing the test scripts as JUnit tests. With a special dynaTrace JUnit Runner and an extension to the Selenium base functionality it is now possible to tag web requests that are executed by a Selenium Java Test.

Plugin Details


Selenium and WebDriver Integration




Andreas Grabner (andreas.grabner@dynatrace.com)


Not Supported


Selenium Helper Classes
Demo Applications

Tested with

Selenium 1.0.1 & 2.0b1; dynaTrace v3.5+

Installation and First Steps

If you are using Maven and WebDriver - read the following Guide: MavenWebDriverIntegration.docx

Helper Classes

The package contains

  • Helper Classes (com.dynatrace.webautomation.*) for both Selenium and WebDriver. If your Selenium Package doesn't include WebDriver simply delete the WebDriver Helper Classes.
  • A sample build.xml file that shows how to inject dynaTrace into the JUnit Task that executes the Selenium Tests


Feel free to contribute any changes on Github

  • No labels
  1. Anonymous (login to see details)

    Is this the latest Selenium plugin? Or are there others?

  2. Anonymous (login to see details)

    This is the latest Selenium Plugin. I want to remind you that we are replacing the Browser Agent with the JAvaScript Agent with 7.0. We have announced this about a year ago. This means that the native Browser Plugin will go away and will be replaced with our UEM JavaScript Agent. Why? Because it will work across browsers (and not just IE/FF on windows). It doesnt go as deep as the browser agent (no JS Tracing or Rendering) - but - with the advances of browsers in supporting W3C Timings we can capture a lot of information with the browser agent.

    I am saying this because this also means that the Selenium Integration will change. A Selenium Test will automatically be picked up by our JavaScript Agent as a Visit. We also build an integration to our Test Automation Feature where UEM Visits triggered by a TEst Tool will show up in the Test Automation DAshlet

    I wanted to give you this heads-up so that you can decide whether to invest in the current Selenium->Browser Agent solution or wait for Dynatrace 7 and the new JavaScript Agent Approach


    1. Anonymous (login to see details)

      Interesting. Btw: Any idea of when the 7 EAP is starting?

      1. Anonymous (login to see details)

        Target date is July. Feel free to send me an email and I get you on the list!

  3. Anonymous (login to see details)

    The EAP for UEM based Test Automation (as described by Andi) has started! Feel free to drop me an e-mail to register to the EAP if you are interested to try out this feature.

    Also we have a new sample code for Selenium showing the integration here: Test Automation Samples Library.