headless-chromium-php | Control Chrome from PHP | UI Testing library
kandi X-RAY | headless-chromium-php Summary
kandi X-RAY | headless-chromium-php Summary
[License] This library lets you start playing with chrome/chromium in headless mode from PHP.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of headless-chromium-php
headless-chromium-php Key Features
headless-chromium-php Examples and Code Snippets
Community Discussions
Trending Discussions on headless-chromium-php
QUESTION
I'm currently building an module for Drupal 7, which requires the functionality of taking an screenshot of another website and delivering this to the user. For doing this i'm using an php wrapper for chrome (headless).
Aaand: It works on my machine!
But: I realizied, that the project is hosted on a managed server, so i can't install the google-chrome package from the gentoo-repository.
Now my questions is if there is any sort of portable chrome for this use case.
Thank your for helping!
...ANSWER
Answered 2018-Oct-25 at 12:11The way i took was using an Amazon Lightsail Instance with an LAMP-Stack. There i could install the required parts. So i'm calling an endpoint on this instance from my drupal module and it's answers with the base64-encoded image data (and some stuff around it).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install headless-chromium-php
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page