After clicking a button on the page, HTML elements are loaded. How to handle a button press with the help of grab and re-parse the page?
1 answer
Grab can only work with forms via .set_input () and .submit (), for javascript processing, look away, for example, PhantomJS.
You can, of course, get a button element, find its click handler, pull out a link from the function or what is generated there, but this is very dreary and the result will always be unpredictable.
|