Hi,
I am trying to get the HTTP/WS Calls from the browser driver using the proxy. I have configured chrome driver to use the proxy as shown below.
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
// Create a new proxy object and set the proxy
Proxy proxy = new Proxy();
proxy.setHttpProxy("localhost:8888");
proxy.setSslProxy("localhost:8888");
//Add the proxy to our capabilities
capabilities.setCapability("proxy", proxy);
//Start a new ChromeDriver using the capabilities object we created and added the proxy to
driver = new ChromeDriver(capabilities);
If Fiddler is opened in my machine, it captures all the calls from the driver and i can export the calls manually.
Is there any API for Java to interact with Fiddler so that I can start Fiddler before my execution starts and Export the Calls as HAR whenever I need and Close Fiddler once my execution gets complete.
I found a jar Fiddler 2.3.3 in Maven repo but I don't know the usage of this jar.
https://mvnrepository.com/artifact/org.apache.river/fiddler/2.2.3
can anyone help me on this?
Share me the java code samples to interact with Fiddler.