Comments (1)
Points to fix:
- incorrect value used (click)
- scroll the page 'inside the browser' (click) - we are holding a values of window height that may (or may not) change during page scrolling (that's why CLS was introduced)
- change line so it waits for all images to finish loading but also will resolve the awaited promise with after
timeoutInSeconds
of waiting so we do not wait forever
Fixing those should be a proper solution.
from capture-website.
Related Issues (20)
- Capturing elements inside `#shadow-root` HOT 2
- Can it be changed using networkidle0 or open options HOT 1
- Error: Could not find expected browser (chrome) locally on version 1.4.0 CJS HOT 3
- Feature Request: use puppeteer-core when Chrome is available in system HOT 3
- Error: createRequire only supports 'file://' URLs for the 'filename' parameter. HOT 1
- Support PDF as output type HOT 4
- Feature: Option for allowing CORS
- TLS certificate HOT 1
- Consider replacing Puppeteer with Playwright HOT 2
- Could be useful to support a commonjs version HOT 2
- Consider add some code or event handler before goto page
- engine.bin size keeps on increasing untill no space left on device
- How to pass proxy configuration ? HOT 1
- Import error with ts-node HOT 1
- Want to made video by capturing images HOT 1
- Detect non-2XX response from website HOT 4
- page.close() and browser.close() should be in try-catch-finally block HOT 4
- Can't resolve node:fs HOT 1
- Does not work on Vercel Serverless functions — "Could not find browser (chrome) locally" HOT 1
- Reading from "node:fs" is not handled by plugins (Unhandled scheme) HOT 2
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 capture-website.