It's not a secret anymore!*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
Consider Paul's rocket mass heater.
 
subject: How to get a HttpClient object from selenium HtmlUnitDriver ?