I really like the rest api for phantom / slimer js, but I am missing an important feature.
I want to pass the html content to render as parameter (already tried to use data:text/html;base64,PGgyPkhBTExPPC9oMj4= as url). Most of our Tests are executed on private networks, but manet runs on a public domain on heroku.
As a workaround we are using a proxy script that accepts the html content, creates a temporary world accessible file, passes the url of this file to manet, waits for the response, delete the temporary file and loops the response of manet.
Maybe this is a feature that more people are waiting for.
I really like the rest api for phantom / slimer js, but I am missing an important feature. I want to pass the html content to render as parameter (already tried to use
data:text/html;base64,PGgyPkhBTExPPC9oMj4=
as url). Most of our Tests are executed on private networks, but manet runs on a public domain on heroku.As a workaround we are using a proxy script that accepts the html content, creates a temporary world accessible file, passes the url of this file to manet, waits for the response, delete the temporary file and loops the response of manet.
Maybe this is a feature that more people are waiting for.
Thanks in advance.