views:

572

answers:

1

I found storeHtmlSource method description in Selenium reference, but can't figure out how to use it in python code I generated by exporting recording of my actions from the Selenium IDE.

I need to pass the html source code of the current page into a function for processing. How to do that? Can anyone show example of code for calling this method? Could it at all to be called from python?

A: 

I can't speak for Python, but check out the getHtmlSource method for the Java API of the Selenium interface. It explains what it does pretty clearly.

Patrick Lightbody