From: Грицак О. О. <Gri...@su...> - 2015-04-02 08:57:15
|
Hello, dear sirs! I need to automate some searches on a heavily AJAXed web-site (not public). Filling input and "pushing" search-button works fine. HtmlPage pageResults = linkSearch.click(); webClient.setAjaxController(newNicelyResynchronizingAjaxController());WriteFile(pageResults.asXml(),"R"); My problem is that search results are generated by JavaScript (tables, divs, rows et c). When I try to search DOM elements in HtmlPage pageResults I do not get any results. If I convert pageResults with method .asXml() to string I lose ability to execute farther JavaScript (click() buttons and so on). Is the problem solvable in 2.15? Can I convert String with XML back to HtmlPage? Thank you in advance. |