要运行功能测试,我需要单击此webview中的元素,但是driver.switchTo().frame(webview)会与异常org.openqa.selenium.NoSuchFrameExceptiondriver.findElementById("webv");窗口html:Exception in thread "main" org.openqa.selenium.NoSuchFrameExc
我正在使用HtmlUnit驱动程序,但是我的代码可以用于火狐或chrome,但是当我开始使用HtmlUnit驱动程序时,它可以工作到一定程度,但之后它就停留在了我使用driver.switchTo().frame(“Big”)的行上; driver.switchTo().frame("Big");
/*and then the error as below*
我们正在从Selenium RC切换到Webdriver,但是在转换到Webdriver之后的大多数命令都无法工作。selenium.selectwindow(" title")的web驱动程序语句是driver.switchTo().window(v2);不工作(String v2=driver.getWindowHandle();),并获得异常
org.openqa.selenium.NoSuchFrameException: Unable to locate f