File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
wood burning stoves
 
subject: How to get a HttpClient object from selenium HtmlUnitDriver ?