0
driver.findElementByName("CashEng").click();
WebElement newWindow = driver.findElementByName("Pay another way");
String newWindowHandle = newWindow.getAttribute("CashAcceptor\\\\Emulator_NCRCashRecycle");
driver.switchTo().window(newWindowHandle);
4

0 回答 0