A Simple C# program using .NET core that show cases selenium using firefox driver(a.k.a gecko driver)
cd to the project's directory and run using the command dotnet run
IDE - Visual studio code Framework - Dot NET core
Running this invokes a firefox browser, loads the Nordstrom website(fashion retailer in the US) and closes the browser.
- You may want to update the firefox driver binary with the latest version so that the driver is compatible with version of firefox browser you are using. Search it in google and download the appropriate binary for your operating system.
- Update the selenium version using dotnet CLI if you see any error.
dotnet add package Selenium.WebDriver --version <version_number>