General
37 results found
-
global error hendlers
add an opportunity to intercept errors
1 voteplease see https://phantomjscloud.com/docs/http-api/automation/interfaces/pageonevents.html#pageerror
as part of the new Automation API: https://phantomjscloud.com/docs/http-api/automation
-
add keyboard+mouse automation api
let clicking on buttons or typing in textboxes
0 votesPlease see the new Automation API: https://phantomjscloud.com/docs/http-api/automation/
-
Support for headless chrome
Headless chrome
1 vote -
add proxy server support
i'd like for all requests to come from my IP. please enable proxy server support
45 votesintegrated proxy has been added. see this doc page for details on usage: https://phantomjscloud.com/docs/http-api/interfaces/ipagerequest.html#proxy
and this for examples: https://phantomjscloud.com/docs/http-api/#proxy-examples
-
Option to select CSS @media type
This appears to be inconsistent across PhantomJS versions, so being able to force 'print' or 'screen' media type would be useful.
4 votesyou can set media type.
see: https://phantomjscloud.com/docs/http-api/interfaces/irendersettings.html#emulatemedia
please email me if you need help.
-
Push local variables.
Angular and React often use JWT stored in local storage for authentification. So my idea is to provide the method to push variables in virtual local storage before rendering.
1 voteplease see the new Automation API: https://phantomjscloud.com/docs/http-api/automation/
-
execute page automation
It's able to exec page automation via phantomjs ?
for example , fill login details and click login then get the login status and save the session . Is it possible ?1 votePlease see our “advanced examples” section on how to do page automation: https://phantomjscloud.com/docs/#advanced_scenario_samples
-
allow rendering of thumbnails, not just full-size screenshots
allow taking a full-size screenshot (ex 1280x720) but return a thumbnail of that to the user.
18 votesthis has been implemented, for example, see the “Image: Render page as thumbnail” example in the http endpoint docs: https://phantomjscloud.com/docs/http-api/
here is the actual example request: https://phantomjscloud.com/api/browser/v2/a-demo-key-with-low-quota-per-ip-address/?request={url:%22http://www.example.com/%22,renderType:%22jpeg%22,renderSettings:{viewport:{width:640,height:500},clipRectangle:{width:640,height:500},zoomFactor:0.45}}
-
curl examples for API
It is not easy to read through the Java or C# docs... they look more like lib docs than HTTP docs.
curl examples would let me use the command line to test stuff, and even if i can't figure out how to use my languages http libs, i could have it use the curl commands that i was able to get working on the command line.
i was able to use your api without reading too much of the API, but the API just looks alien, and it's not obvious how to translated it to curl or my language.
1 votei completed some basic examples using curl, please check the doc page. let me know if there are further improvements you need.
-
When including '&' in url, It is not working
I requested "http://cafe.daum.net/_c21_/bbs_list?grpid=Jnt6&fldid=BAOB"
It doesn't work because of '&' How could I parse that.I did try the following url.
0 votesresolved as per user
-
zoomFactor argument to viewportSize does nothing, needs fix?
It seems like the zoomFactor argument for the viewPort size doesn't have any effect. For example
and
Have the same image!
zoomFactor can be really useful for making "hi-res" images so if that is possible to fix that would be awesome
1 votethis is already supported in the new version, docs here: http://api.phantomjscloud.com
-
Please allow to post data in url as url parameters.
Please allow to post custom user defined data in query string, for example something like this http://example.com/index.php?a1=0&a2=0&a3=1&a4=2&a5=3&a6=4
where a1,a2 are user defined custom parameters which will used in php page to create chart and then Phantomjscloud api will create image of final chart.1 voteThis is already support in our new version: http://stage2.phantomjscloud.com please give that a try.
using Stage2, you should choose the option of base64 encoding your request. this allows you to post data in the url as requested.
-
Support POST for targetContent parameter
/single/browser/v1/<key>?targetContent API call should support POST.
1 votethis is already supported in the new version, docs here: http://api.phantomjscloud.com
-
Add CORS headers to your endpoints
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
I want to use to call your endpoints directly from javascript on a web page.
I'm building a canvas based application and I want to be able to draw html onto it without proxying it through my own server.
2 votesdone. see docs here: http://api.phantomjscloud.com
-
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.
2 votesnot phantomjs script, but puppeteer script.
See the new Automation API: https://phantomjscloud.com/docs/http-api/automation
-
we are having troubles with font support. all fonts are rendered as verdana. is there a reason for that? something wrong that we are doing?
hey, we are having troubles with font support. all fonts are rendered as verdana. is there a reason for that? something wrong that we are doing?
2 votesi think this has been fixed (oct 30) with the update to our new backend. submit a new issue if it’s not.
-
Fix poor accuracy in getting calculated image dimensions
I have an image that has a smaller calculated width/height when I view it in the browser. However, phantomJsCloud is not picking up on this true calculated height. I set the viewport width to something small. I am injecting a script that is trying to use various methods of getting these calculated dimensions but they are all just passing back the native dimensions. I am trying to use these but they are all giving the wrong result:
$(img).width()
img.offsetWidth
img.clientWidth
window.getComputedStyle(img, null).getPropertyValue("width")Even when I change the viewport width that I pass in, the image dimensions don't change (but they…
1 votehi, please try again. we are now on a new version of chrome so may work now.
-
Specify phantomJS version in request
I'm running into some JS issues with the older phantomJS version, which should have been fixed in version 2.0. Version 2 is still unstable, but I would like to try it instead of the latest stable version (1.9.8). It would be great if one could specify whether to use stable or latest version in the API request.
7 votescan choose between phantomjs 2.1.1 and 2.5b. will add other backends (chrome and firefox, not phantom) in the future.
-
I would like to use your service, but it doesn't support web fonts!
Phantom 2.0 is still not released, but I really need it! It supports google fonts and evrth seems to be ok...
4 votesservice now uses phantomjs v2, which includes webfont support.
UPDATE: much better improved webfont support on our Stage2 system! you can try this feature out at http://stage2.phantomjscloud.com stage2 will replace the current system in the coming months.
-
https api support?
I want to use your service, but my site runs over https too, and your api call breaks my security.
Do you have, or are you planning to support your api calls over https too?4 votesin next version to be deployed in next few days
- Don't see your idea?