adspace
What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium?
Answer Posted / Rahul Pratap Singh
The 'driver.getWindowHandle()' method returns the current window handle (ID) of the active browser window, while 'driver.getWindowHandles()' method returns all available window handles (IDs) of both the active and other opened windows.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers