1

I am looking for automated way to capture HTML after I do some actions on the web page.

For example I select some item in dropdown and HTML changes- I want to capture that HTML and dump into file. As result I will end up with many different HTML files on my hdd.

I was thinking it might be possible to achieve that by using Selenium, or maybe some other plugin which would give me possibility to save HTML in automatic manner to file.

Thanks for your advices!

1

In fact any sniffer tool has required functionality. The most popular are Fiddler and Wireshark. The simplest example is HTTPFox extension for Firefox browser.

You can also use Apache JMeter as it capable of capturing HTTP requests and write responses into files.

Reference material:

  • You are right, Dima, thank you very much! – Wild Goat Sep 28 '15 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.