📌  相关文章
📜  getwindowhandle 和 getwindowhandles 有什么区别 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:08.587000             🧑  作者: 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