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.