Hi,
Set is unordered collection of data then why the set of the windows we get using getWindowHandles() is ordered set.
Thanks,
Gautam
Instructor
Ashish Thakur Replied on 26/12/2020
getWindowHandles is implemented in such a manner that the set which it returns is an ordered set