Questions tagged [htmlunit-driver]

Selenium HtmlUnit Driver is a WebDriver implementation using HtmlUnit as browser.

Selenium HtmlUnit Driver is a WebDriver implementation which allows to control the headless browser HtmlUnit via the WebDriver API.

215 questions
-1
votes
1 answer

Does google have restrictions on the using Xpath for find the form by id?

All: Does Google some how prevent searching of elements by id using Xpath? WebDriver wbdriver = new HtmlUnitDriver(); wbdriver.get("https://www.google.co.in/?gfe_rd=cr&ei=oB5BVNXnOKzV8gePnYDQBA"); WebElement element =…
crazyTech
  • 1,379
  • 3
  • 32
  • 67
-1
votes
1 answer

Selenium HtmlUnitDriver save Session ID or Cookies

How is it possible to save the session id or the cookies I need to stay logged in at a website after the login, when I'm using HtmlUnitDriver from Selenium 2.0.
-1
votes
2 answers

Selenium HtmlUnit Driver Exception

I'm using JUnit, Selenium WebDriver and try to make some tests with HtmlUnit and http://vk.com site but fail. It looks like FirefoxDriver works great for me. Here is code: @Before public void setUp() { DesiredCapabilities capabilities =…
user1722707
  • 151
  • 1
  • 3
  • 6
-2
votes
1 answer

How to get html which dom generated after the Javascricpt of view source in java?

I had tried Htmlunit but that doesn't work so can u help me with API or any other solution which I can study and get the solution.Thanku import com.gargoylesoftware.htmlunit.BrowserVersion; import java.io.IOException; import…
-2
votes
1 answer

How to extract data from other site using regex?

Hi i am trying to extract data from another site which i am able to do but problem is that i want to extract my data in my desired format which i am not able to achieve so how can i achieve my goal here is my code which i did import…
1 2 3
14
15