Giter VIP home page Giter VIP logo

Comments (4)

bobrain008 avatar bobrain008 commented on May 12, 2024

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.

bobrain008 avatar bobrain008 commented on May 12, 2024

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.

nesk avatar nesk commented on May 12, 2024

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.

nesk avatar nesk commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.