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

Find a smaller replacement to playwright for tests #597

Open
XhmikosR opened this issue Mar 4, 2022 · 7 comments
Open

Find a smaller replacement to playwright for tests #597

XhmikosR opened this issue Mar 4, 2022 · 7 comments
Labels
dependencies Pull requests that update a dependency file help-wanted

Comments

@XhmikosR
Copy link
Member

XhmikosR commented Mar 4, 2022

We previously used svg2png but it's not maintained. Puppeteer on the other hand is huge.

Opening this so that we track the issue

@XhmikosR XhmikosR added dependencies Pull requests that update a dependency file help-wanted labels Mar 4, 2022
@Kreeg
Copy link
Member

Kreeg commented Mar 4, 2022

Puppeteer also has this bug puppeteer/puppeteer#8009, leaving me without a chance to unplug the power connector
There is two candidates now:

  1. playwright (svgo uses it)
  2. webdriverjs

Any help is welcome

@XhmikosR
Copy link
Member Author

XhmikosR commented Mar 5, 2022

  1. playwright also downloads huge binaries and it's even bigger, it just caches the binaries system-wide...
  2. haven't used this

Looking at the svg2png PRs, I see there was a PR to switch to puppeteer there too. So, maybe we are stuck, in that case we'll live with puppeteer.

@yisibl
Copy link
Contributor

yisibl commented Mar 6, 2022

Switching to puppeteer-core is a little better, and you can use the Chrome path already installed locally.

@XhmikosR
Copy link
Member Author

XhmikosR commented Mar 7, 2022

If you could make a PR, that would help!

I wonder if there's a similar solution for other browsers too. Maybe playwright supports using the existent installed browsers?

Either way, this should be an improvement :)

@yisibl
Copy link
Contributor

yisibl commented Mar 23, 2022

@weolar has a miniblink project, a streamlined browser kernel that might make a difference.

@weolar
Copy link

weolar commented Mar 24, 2022

yes, i'm working for miniblink now. bug it's linux version has some bug to fix

@XhmikosR
Copy link
Member Author

It would really help if docs were written in English too.

@Kreeg Kreeg changed the title Find a smaller replacement to puppeteer for tests Find a smaller replacement to playwright for tests Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file help-wanted
Projects
None yet
Development

No branches or pull requests

4 participants