This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to get a HttpClient object from selenium HtmlUnitDriver ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to get a HttpClient object from selenium HtmlUnitDriver ?" Watch "How to get a HttpClient object from selenium HtmlUnitDriver ?" New topic
Author

How to get a HttpClient object from selenium HtmlUnitDriver ?

Soumyajit Hazra
Ranch Hand

Joined: Jun 26, 2007
Posts: 136
Is there a way to get a HttpClient object or a HtmlUnit object from WebDriver/HtmlUnitDriver in Selenium 2? Basically I am facing problem in uploading files to remote server by using selenium type()/sendKeys() methods.
So if I some how get a HttpClient object then try to directly use a MultiPartFormRequest.

Please help...


Java Programmer | SCJP 1.5 | SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get a HttpClient object from selenium HtmlUnitDriver ?
 
Similar Threads
New to automation tesing
SSL implementation for HTTPClient
how to install selenium remote control on mac.?
Writing Java code that can interact with a webpage
Testing Struts applications with Selenium