Enable directly writing phantomjs script instead of just injecting JS to the page
Currently the inject script function is just injecting the javascript into the webpage. Is it possible I can write my own phantom js script?
I want to do some page migration and in the process some login is needed. It would be great if I can inject casperjs script into the current phantomjs. I also need to do some checking before knowing which page to take the screenshot. Inject into the webpage is not enough for this. I need higher level control.
not phantomjs script, but puppeteer script.
See the new Automation API: https://phantomjscloud.com/docs/http-api/automation
-
I am planning this, but unfortunatly it is a high security risk so I will need to sandbox each request, which increases the complexity enormously, and cost too. So I will investigate this as a premium feature once the new billing system is up (about 1 month from now)
-
Anonymous commented
i also have similar requires that click button then been token to login page , then login .
Will we have this functionality now or it's on the way already ?