Interview Questions For Selenium WebDriver Part 11
Part 11 48 : Can you tell me a syntax to close current webdriver Instance and to close all opened webdriver Instances? Answer : Yes, To close current WebDriver Instance, We can use Close() method as bellow. driver.close(); If there are opened multiple webdriver Instances and wants to close all of them then we can use webdriver’s quit() method … Read more