How do I use Webdriver in Firefox?

How do I use Webdriver in Firefox?

Step 1: Go to the Selenium official website. All of the drivers can be found under third-party drivers. Simply go to the Mozilla GeckoDriver documentation page.

Step 2: Next, go to the documentation and click on GeckoDriver releases to see the current supported platforms for GeckoDriver versions.

Step 3: After downloading the zip file, open it to get the geckodriver executable file.

Step 4: Copy the GeckoDriver’s path and set the properties to start the browser and test it.