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

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