Comments (6)
@itaditya Let me check! I just noticed Puppeteer hit 1.0.0 over night, so that could be an issue if you installed freshly. In the meantime, can you tell me:
- your OS
- Node version
from puppeteer-examples.
I just checked with Puppeteer 1.0 and it seems to work fine. My setup:
- MacOs Sierra
- Node v8.6.0
- Puppeteer 1.0.0-post
from puppeteer-examples.
My machine :
- Windows 7
- Node v8.6.0
- Puppeteer git+https://github.com/GoogleChrome/puppeteer.git#12b57e31f386b1bd8845aba0246894fde8fe9ed8
from puppeteer-examples.
@itaditya I'm afraid this must be a Puppeteer issue with Windows issue then. I have not tested this yet. Can you try the simplest possible puppeteer scripts, like the one on the Puppeteer page itself and see if that works?
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
await page.screenshot({path: 'example.png'});
await browser.close();
})();
from puppeteer-examples.
Yeah I guess this is a puppeteer issue, and quite common for a beta service. However, I'm suggesting that we should atleast handle the exception with try/catch.
from puppeteer-examples.
Yes, correct. In any other situation I would wrap the examples in try catch blocks. But I want to keep the examples clear and unfuzzy. I think maybe an extra specific category on error handling would work nicely!
from puppeteer-examples.
Related Issues (20)
- basics/hover.js cannot take snapshot without sleep for some time HOT 1
- cannot find puppeteer HOT 1
- ReferenceError: before is not defined HOT 1
- Link to playground is dead HOT 1
- How can get cookies
- Prettier support in puppeteersandbox.com
- dead link HOT 2
- Error Installing Puppeteer on AWS linux Ec2 server HOT 1
- Already Logged In HOT 2
- このREADME違うくないですか? HOT 1
- Run Puppeteer on remote desktop. HOT 2
- modifying to accomodate URL list HOT 3
- Multiple browsers with one having tabs/pages? HOT 1
- ENV variable HOT 1
- Why does google_social.js not work when I set it headless to false? HOT 4
- download_upload.js imageHref already give images/ path HOT 1
- Unable to retriev element data HOT 1
- Error: DispInvoke: execScript Exception occurred.
- Note: we are moving to headless.dev
- Wait for user Login
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 puppeteer-examples.