09 January, 2015

What is the Difference between getwindowhandles() and getwindowhandle() in Selenium?

getwindowhandles() : It is used to get the address of all open browser tabs. It's return type is iterator<string>
getwindowhandle() : It is used to get the address of the current browser tab. It's return type is string.

No comments:

Post a Comment