I am using the following example to add proxy browsermob with Selenide and Selenium. I used the this link.
I run it with Eclipse and I a successfully running it. but when I tried it with Maven. I have the following Error:
location: package net.lightbody.bmp.proxymaven cannot find symbol symbol: class ProxyServer
My Pom.xml:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>3.5.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-core</artifactId>
<version>2.1.1</version>
<scope>test</scope>
</dependency>
</dependencies>