This property contains the full file name of the location of the HttpWatch Edge Extension (CRX) file (e.g. C:\Program Files (x86)\HttpWatch\HttpWatchForEdge.crx)
The CRX file location is required when automating Edge with Selenium to ensure that the HttpWatch extension is loaded.
| HttpWatchCRXFile property |
Copy Code
|
|---|---|
using OpenQA.Selenium.Edge; using HttpWatch; ... // Make sure the HttpWatch extension is enabled in the Selenium Edge session by referencing the CRX file // e.g. C:\Program Files (x86)\HttpWatch\HttpWatchForEdge.crx // The HttpWatchCRXFile property returns the installed location of the CRX file var options = new EdgeOptions(); options.AddExtension(control.Edge.HttpWatchCRXFile); // Start the Edge browser session var driver = new EdgeDriver(options); |
|
Edge Class
Edge Members
a993a363-ab2e-4e09-9917-b1574f47566d