firefox selenium python

# coding=utf-8
from selenium import webdriver
 
driver = webdriver.Firefox()
driver.get("https://dev.to")

Here is what the above code is Doing:
1. We’re importing the webdriver module from the selenium package.
2. We’re creating a new instance of Firefox WebDriver.
3. We’re telling the driver to get the URL https://dev.to.