Complete the code to import the Edge WebDriver from Selenium.
from selenium.webdriver.edge import [1]
The Edge WebDriver is imported from selenium.webdriver.edge as Edge.
Complete the code to create an Edge WebDriver instance with default options.
driver = [1]()To create an Edge WebDriver instance, call Edge().
Fix the error in the code to set Edge options correctly.
from selenium.webdriver.edge.options import EdgeOptions options = EdgeOptions() options.[1] = True
The correct attribute to enable headless mode is headless in lowercase.
Fill both blanks to add an argument to Edge options and create the driver with those options.
options = EdgeOptions() options.add_argument([1]) driver = Edge(options=[2])
Use "--headless" as the argument string and pass options to the Edge constructor.
Fill all three blanks to set Edge options for headless mode, disable GPU, and create the driver.
options = EdgeOptions() options.add_argument([1]) options.add_argument([2]) driver = Edge([3]=options)
Pass the two argument strings to add_argument and pass options to the Edge constructor.
