HttpWatch Automation Reference - 16.2.2
HttpWatch Namespace / Edge Class / HttpWatchCRXFile Property

In This Topic
    HttpWatchCRXFile Property (Edge)
    In This Topic
    Syntax
    'Declaration
     
    Public ReadOnly Property HttpWatchCRXFile As String
    public string HttpWatchCRXFile {get;}
    Remarks

    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.

    Example
    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);
    
    Requirements
     
    See Also

    Reference

    Edge Class
    Edge Members
    a993a363-ab2e-4e09-9917-b1574f47566d