Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get a HttpClient object from selenium HtmlUnitDriver ?  RSS feed

 
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...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!