我是新的selenium webdriver。我正在尝试注册http://way2automation.com/way2auto_jquery/index.php
。Selenium Webdriver - 元素不可见
我能够切换到弹出并能够填写所有字段值。但是,当我试着点击提交按钮,它显示例外Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: element not visible
我已经使用的XPath与下面的代码:
driver.findElement(By.xpath(".//*[@id='load_form']/div/div[2]/input")).click();
HTML是:
<div class="span_1_of_4" align="center">
<input class="button" type="submit" value="Submit">
任何帮助将不胜感激。在此先感谢
你能分享你如何切换到该弹出窗口?我已经在这里问它http://stackoverflow.com/questions/41828847/python-selenium-webdriver-cannot-switch-to-registration-pop-up – Yabko