Google News
logo
Selenium - Interview Questions
What is the difference between the getwindowhandle() and getwindowhandles()?
getwindowhandles() : This is used to get the address of all the open browsers and returns the data type of Set<String>.
 
getwindowhandle() : This is used to get the address of the current browser window where it’s focused on and returns the data type of String.
Advertisement