Hi Eric,
I'm using fiddler4 with selenium(chrome web driver).Fiddler failed to capture traffic of the chrome browser opened by selenium web driver,then i have manually opened chrome browser fiddler successfully captured the traffic.
Regards,
Avinash.
2 Answers, 1 is accepted
0
Eric Lawrence
Telerik team
answered on 10 Mar 2015, 08:47 PM
You need to configure your Selenium/ChromeDriver instance to proxy its traffic to Fiddler, which runs at 127.0.0.1:8888
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Is the problem the same as with Charles Proxy? Charles Proxy doesn't capture traffic to localhost (sometimes) so in theory, changing the "localhost" request to this url is a solution: localhost.charlesproxy.com
I don't think userdata properties allow a change in Sahi so that it can point to localhost.charlesproxy.com. I couldn't find a solution, but all I needed was errors from the console log, so this was my solution: I added this to my chrome flags:
--enable-logging --log-level=0