Quote:
Originally Posted by redwhiteandblue
Do you know of one that can get past the age confirmation pop ups on paysites?
|
That's possible with PhantomJS. But not out of the box.
There's a mouse event option for example, that can click buttons etc.
Also, if the site uses a cookie, you could copy and paste or edit that:
https://phantomjs.org/api/webpage/me...dd-cookie.html
But perhaps including your own javascript file to the website might be an easier option:
https://phantomjs.org/api/webpage/me...nclude-js.html
If the site uses javascript for the overlay, you can use some custom javascript code to "toggle" the overlay.
Maybe even injecting a custom line of CSS at the bottom (with display:none), would do the trick. (this can also be done with Curl or wget, and then use PhantomJS to render the page and take the screenshot)