Aug 22, 2019 in Selenium
Q: What is the difference between driver.getWindowHandle() and driver.getWindowHandles() in Selenium WebDriver?

1 Answer

0 votes
Aug 22, 2019

driver.getWindowHandle() – It returns a handle of the current page (a unique identifier)

driver.getWindowHandles() – It returns a set of handles of the all the pages available.

Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
Aug 22, 2019 in Selenium
+1 vote
Aug 22, 2019 in Selenium
...