Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get a HttpClient object from selenium HtmlUnitDriver ?

 
Soumyajit Hazra
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic