proxy - Integrate Fiddler With Selenium RC To Capture HTTP Headers -


i'm trying use fiddler 4.6.2.3 proxy selenium rc (the standalone server .jar file v2.53.0) in firefox instead of selenium rc's built-in proxy. i'm doing because want take advantage of fiddler's capabilities. have fiddler working correctly firefox both http , https. have selenium rc working correctly "*firefox" profile using standalone selenium rc server .jar file. what i'd replace selenium's built-in proxy fiddler.

i launching both fiddler , selenium rc same .bat file. launch fiddler first, launch test suite using selenium rc standalone server. when remark out fiddler launch in .bat file, selenium rc test suite executes perfectly. when launch fiddler, launch selenium rc test suite (both .bat file), selenium rc complains fiddler's security certificate problem , selenium rc test suite fails.

i'm new world of automated testing , selenium. i've tried using selenium rc command line option -avoidproxy see if selenium rc somehow "find" fiddler if instructed not use built-in proxy. doesn't work - selenium rc still complains fiddler security certificate. tried using selenium rc -trustallsslcertificates command line option. solved fiddler certificate problem bypassing fiddler altogether, of course prevented capture of http , https traffic fiddler.

what happen following:

  1. launch fiddler
  2. launch , run selenium rc test suite
  3. fiddler captures http , https traffic test suite runs
  4. use fiddlerscript export specific headers file later analysis (i know how this)
  5. close selenium
  6. close fiddler

it feels i've got solution working. know how "connect" fiddler selenium rc. btw - know selenium rc has supposedly been deprecated in favor of selenium 2.0 webdriver. however, selenium website says selenium rc still being maintained , usable product, within constraints. don't have need develop solution in webdriver, if it's possible replace selenium rc's proxy fiddler that's prefer do.

thanks in advance -

you can use fiddlercore in .net code. here: fiddlercore api telerik


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -