Complete the code to create a new ChromeDriver instance.
WebDriver driver = new [1]();The ChromeDriver class is used to create a new Chrome browser instance in Selenium.
Complete the code to set the system property for ChromeDriver executable path.
System.setProperty("webdriver.chrome.driver", [1]);
To use ChromeDriver, you must set the system property webdriver.chrome.driver to the path of the ChromeDriver executable.
Fix the error in the code to properly import the ChromeDriver class.
import org.openqa.selenium.[1];
The correct import for ChromeDriver is org.openqa.selenium.chrome.ChromeDriver.
Fill both blanks to initialize ChromeDriver and open the URL "https://example.com".
WebDriver driver = new [1](); driver.[2]("https://example.com");
navigate without to method.Create a new ChromeDriver instance and use the get method to open a URL.
Fill all three blanks to properly quit the ChromeDriver session after opening a page.
WebDriver driver = new [1](); driver.[2]("https://example.com"); driver.[3]();
close instead of quit which only closes one window.Use quit to close all browser windows and end the WebDriver session properly.