Hi Eric,
Thanks for your reply, sorry that I didn't provide enough information, here is more:
1. It almost 80% slow than without fiddler enabled, the data is collected in the same environment and with 5 runs of our automation test cases.
2. We use Visual Stuido 2013, Selenium C# with FiddlerCore, we got the package from the NuGet Server, here is the version info:
<package id="FiddlerCore" version="4.4.8.4" targetFramework="net45" xmlns="" />
<package id="Selenium.Support" version="2.43.1" targetFramework="net45" xmlns="" />
<package id="Selenium.WebDriver" version="2.43.1" targetFramework="net45" xmlns="" />
<package id="Selenium.WebDriver.ChromeDriver" version="2.10.0.0" targetFramework="net45" xmlns="" />
<package id="Selenium.WebDriver.IEDriver" version="2.43.0.0" targetFramework="net45" xmlns="" />
3. As we observed that there is no performance issue when Fiddler itself is running, we use Fiddler a lot in our work, and our product is an one page web application. We thought that it is because Fiddler running in a different process.
4. The main code for fiddlerHelper is attached. And here is the code to make Fiddler work with Chrome Driver:
ChromeOptions options = new ChromeOptions();
options.AddArgument("--start-maximized");
options.AddArgument("--test-type");
if (Properties.Settings.Default.EnableFiddlerTrace)
{
// Note that we're using a desired port of 0, which tells
// Fiddler to select a random available port to listen on.
var proxyPort = FiddlerHelper.StartFiddlerProxy(0);
OpenQA.Selenium.Proxy proxy = new OpenQA.Selenium.Proxy();
proxy.HttpProxy = String.Format("127.0.0.1:{0}", proxyPort);
proxy.SslProxy = String.Format("127.0.0.1:{0}", proxyPort);
options.Proxy = proxy;
}
if (null == this.driver)
{
this.driver = new ChromeDriver(browserDriverFolder, options);
}
5. We want to decrpt HTTPS traffic, current I just install Fiddler, and install the cert use the option inside Fiddler, I believe it should be "makecert.exex" way. I also look for ways to automatically the cert install. There is code to do so, but one dialogue will popup.
Hope you could provide us more insights.