webdriverio/webdriverio

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

オープン

#14,230 opened on 2025/02/25

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (1,793 件のフォーク)batch import
Enhancementhelp wanted

Repository metrics

Stars
 (6,029 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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