📌  相关文章
📜  driver.getwindowhandle() 和 driver.getwindowhandles() - 任何代码示例

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

代码示例2
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