Skip to content

Instantly share code, notes, and snippets.

Created November 4, 2019 00:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Running WebDriver against Internet Explorer mode
static void Main(string[] args)
var driver = "IEDriverServer.exe";
if (!Directory.Exists(dir) || !File.Exists(Path.Combine(dir, driver)))
Console.WriteLine("Failed to find {0} in {1} folder.", dir, driver);
var ieService = InternetExplorerDriverService.CreateDefaultService(dir, driver);
var ieOptions = new InternetExplorerOptions{};
ieOptions.AddAdditionalCapability("ie.edgechromium", true);
ieOptions.AddAdditionalCapability("ie.edgepath", @"\\msedge.exe");
var webdriver = new InternetExplorerDriver(ieService, ieOptions, TimeSpan.FromSeconds(30));
webdriver.Url = "";
Copy link

Could share how to achieve same in VBA please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment