You can get the window handle of the current window by using: ... getWindowHandles().size() == 1; //Click the link which opens in a new window driver.
確定! 回上一頁