webdriverio/webdriverio

[Feature]: Support for `browser.getPuppeteer()` within browser runner

Open

#14,230 opened on 2025年2月25日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)JavaScript (1,793 forks)batch import
Enhancementhelp wanted

Repository metrics

Stars
 (6,029 stars)
PR merge metrics
 (平均マージ 15d 15h) (30d で 48 merged PRs)

説明

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

latest

Node.js Version

latest

Mode

Standalone Mode

Which capabilities are you using?

What happened?

I can't get await browser.getPuppeteer(); to run :)

It consistently fails with Couldn't import "puppeteer-core"! Do you have it installed? If not run "npm install puppeteer-core"!

Despite having puppeteer-core installed

What is your expected behavior?

No error

How to reproduce the bug.

clone https://github.com/johnjenkins/wdio-bug-getpuppeteer and npm i then npm run wdio

Relevant log output

`Couldn't import "puppeteer-core"! Do you have it installed? If not run "npm install puppeteer-core"!`

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

コントリビューターガイド