Question related to getWindowHandles() | Selenium Forum
G
gautam Posted on 15/12/2020

Hi,

Set is unordered collection of data then why the set of the windows we get using getWindowHandles() is ordered set.

Thanks,

Gautam


A
Ashish Replied on 26/12/2020

getWindowHandles is implemented in such a manner that the set which it returns is an ordered set


Related Posts