my dog learned polymorphism*
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 Spring in Action this week in the Spring 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
 
Don't get me started about those stupid light bulbs.
 
subject: How to get a HttpClient object from selenium HtmlUnitDriver ?