Selenium Webdriver (Java) を使用してサイトをテストしたいのですが、そのサイトには ajax が含まれており、HTMLUnit は ajax コンテンツを認識しません。
回避策はありますか?
例:
WebDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_3_6);
//login into your account
this.login(driver);
//click on edit Profile Link into an ajax-loaded tab
driver.findElement(By.id("editProfile")).click();
//Result: org.openqa.selenium.NoSuchElementException