driver.findElementByName("CashEng").click();
WebElement newWindow = driver.findElementByName("Pay another way");
String newWindowHandle = newWindow.getAttribute("CashAcceptor\\\\Emulator_NCRCashRecycle");
driver.switchTo().window(newWindowHandle);
问问题
40 次