Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing legacy WebDriver extension when using Geckodriver in .NET
When a `FirefoxProfile` object is created in the .NET bindings, the legacy WebDriver extension is included in that profile by default. This includes the case where the user is using Geckodriver. When using Geckodriver, the legacy extension is doing nothing more than taking up space. This commit adds an internal method to detect when a `FirefoxProfile` object is being used with geckodriver, and removes the extension from the list of extensions in the profile before the profile is serialized to disk, and subsequently to a base64-encoded string for transmission over the wire to geckodriver. Fixes issue SeleniumHQ#6043.
- Loading branch information