web-infra-dev / web-infra-dev/midscene
[Feature] Use midscene in other environment
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.9k
- Forks
- 1.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 96
Description
Currently it seems like midscene depend heavily on nodejs apis (I guess it's about cache), it'd be awesome to bring nodejs uses to an adapter so we can use this library in different environments (for example cloudflare worker, browser, deno deploy)
Technically pptr or playwright can work in browser: https://pptr.dev/guides/running-puppeteer-in-extensions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by auditing the Node.js API and cache usages referenced in the issue's code search link. Review Puppeteer's browser guidance and compare the requirements of Cloudflare Workers, browsers, and Deno Deploy. Done means the Node.js-dependent behavior is behind an adapter that supports the listed environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100