Enable GPU acceleration
Set thegpu parameter to true when creating a browser:
Use cases
GPU acceleration is useful for:- High performance live view streaming
- Rendering complex 3D graphics or WebGL content
- Video processing and playback
- Canvas-heavy applications
GPU acceleration speeds up page rendering, not screenshot capture. CDP’s
Page.captureScreenshot latency is unaffected by GPU. Computer controls screenshots see a small speedup with GPU enabled.