📜  getwindowhandle vs getwindowhandles - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:15.026000             🧑  作者: Mango

代码示例1
driver.getWindowHandle() – It returns a handle (String) of the current 
page (a unique identifier)
driver.getWindowHandles() – It returns a set of handles (Set) 
of the all the pages available