Comments (4)
Hello, there's no way at the moment to run the latest versions on CentOS 7. I don't know if about the no-sandbox but that's it. Please, did you test it on CentOS or do you know why newPage() on null
? Thanks...
from puphpeteer.
For your info, If i write a .js file as myscript.js
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox', '--proxy-server=xx.xx.xxx.xx:3128'] });
const page = await browser.newPage();
await page.goto('https://myweb.com', {waitUntil: 'networkidle0'});
await page.setViewport({width: 1920, height: 1080});
await page.screenshot({path: 'example.png'});
await browser.close();
})();
and then node myscript.js
it works as usual, so unfortunately that means the issue is on puphpeteer. Thank you
from puphpeteer.
Sorry for the delay, I didn't have much time to work on this and I'm currently unable to test the project with CentOS 7. Could you provide me some logs? Here are some instructions.
from puphpeteer.
I've tested on CentOS7 and didn't encounter any issue. I'm closing since I didn't get any feedback.
from puphpeteer.
Related Issues (20)
- Using puppeteers page.select() function in puphpeteer HOT 1
- Could not find browser revision 818858 HOT 2
- Help to transcode JS with lib HOT 4
- Error: handler is not a function HOT 1
- Help with download pdf from a website
- Copy text from textarea to variable HOT 1
- Upgrade to symfony ^6.0 to add compatibility with Laravel 9 HOT 1
- Cannot be required on Laravel 9 due dependency problems with symfony/process HOT 1
- How to turn off loading images, css and fonts?
- ProcessSupervisor unconditionally stops browser on __destruct HOT 1
- How do I use fs in JsFunction
- Keep getting Exit Code: 127 error HOT 1
- Can't encode larger images to base64 HOT 1
- How to set cookies? HOT 1
- Support for Laravel 9 HOT 12
- header and footers are not generated in the pdf document
- Network.getAllCookies returns empty array
- [email protected]: Version no longer supported. Upgrade to @latest HOT 2
- How can ı get background-image from div content
- Scroll element until no more content
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puphpeteer.