Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use midscene in other environment #49

Open
ducan-ne opened this issue Aug 9, 2024 · 3 comments
Open

[Feature] Use midscene in other environment #49

ducan-ne opened this issue Aug 9, 2024 · 3 comments

Comments

@ducan-ne
Copy link

ducan-ne commented Aug 9, 2024

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

@zhoushaw
Copy link
Member

zhoushaw commented Aug 9, 2024

cloudflare worker should not be able to implement libraries such as puppeteer or playwirght, so it will not be able to drive the browser and the midscene capabilities will not be available

@ducan-ne
Copy link
Author

@zhoushaw cloudflare worker supports puppeteer about 1 year ago and they have plan to support playwright soon https://github.com/cloudflare/puppeteer

for reference: https://developers.cloudflare.com/browser-rendering/

@zhoushaw zhoushaw changed the title Use midscene in other environment [Feature] Use midscene in other environment Aug 11, 2024
@SunPeter
Copy link

@ducan-ne browser extention is on my wishlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants