Complete the code to import the Selenium WebDriver module.
from selenium import [1]
The correct import is webdriver from the Selenium package to control browsers.
Complete the code to create a Chrome WebDriver instance.
driver = webdriver.[1]()To launch Chrome browser, use webdriver.Chrome().
Fix the error in the code to set up GeckoDriver for Firefox.
driver = webdriver.[1]()The correct class name is Firefox with capital F to create a Firefox driver.
Fill in the blank to specify the path to ChromeDriver executable correctly.
driver = webdriver.Chrome(executable_path=[1])\\ on Unix causes path errors.The path to the ChromeDriver executable is a string like "/usr/local/bin/chromedriver" on Unix systems.
Fill all three blanks to import WebDriver, create Firefox driver, and open a URL.
from selenium import [1] driver = [2].Firefox() driver.[3]("https://example.com")
Import webdriver, create Firefox driver with webdriver.Firefox(), and open URL with driver.get().
