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

Playwright in Quarkus Native (not for E2E testing) #68

Closed
thomaswiradikusuma opened this issue Jul 29, 2024 · 8 comments · Fixed by #95
Closed

Playwright in Quarkus Native (not for E2E testing) #68

thomaswiradikusuma opened this issue Jul 29, 2024 · 8 comments · Fixed by #95
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@thomaswiradikusuma
Copy link

I understand that Quarkus supports Playwright for E2E testing, but I want to use it for web scraping. Specifically, I want to deploy Native Quarkus which uses Playwright to scrape websites.

Is this supported by this plugin? Does it work when compiled to Native?

@melloware
Copy link
Contributor

I bet since its marked as a Test component its gets compiled out? But go ahead and just try it and let us know?

@melloware
Copy link
Contributor

@ia3andy mentioned here: #26 (comment)

It's not possible, it won't compile, because of a restriction on dependencies

But i would like to verify?

@melloware
Copy link
Contributor

@all-contributors add @thomaswiradikusuma for idea

Copy link
Contributor

@melloware

I've put up a pull request to add @thomaswiradikusuma! 🎉

@melloware
Copy link
Contributor

OK I have it working as a runtime: #95

Next is trying to make it work in Native mode.

@thomaswiradikusuma
Copy link
Author

thomaswiradikusuma commented Oct 26, 2024

@melloware I went to other direction (I use JavaScript and made it a micro service hehe), but I'll be happy to test this. I think with GenAI, more and more people require scraping capability.

@melloware melloware self-assigned this Oct 26, 2024
@melloware melloware added the enhancement New feature or request label Oct 26, 2024
@melloware melloware added this to the 2.0.0 milestone Oct 26, 2024
@melloware
Copy link
Contributor

Ok got it working. Just waiting on some feedback from other devs before merging it.

@melloware
Copy link
Contributor

@thomaswiradikusuma 2.0.0 is in Maven Central and I would love some feedback on your GraalVM testing to see if I missed anything.

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

Successfully merging a pull request may close this issue.

2 participants