Comments (3)
Can some please explain how to do this in Docker file?
See here: https://playwright.dev/java/docs/browsers#install-system-dependencies
Also, do I need Node.js to run headless browser when using java library?
No, only the Playwright for Java package is needed.
I'm going to close it for now, since this is not a bug / feature request.
from playwright.
Can some please explain how to do this in Docker file?
See here: https://playwright.dev/java/docs/browsers#install-system-dependencies
Also, do I need Node.js to run headless browser when using java library?
No, only the Playwright for Java package is needed.
I'm going to close it for now, since this is not a bug / feature request.
@mxschmitt : Is there anyway I can predownload the required dependencies/binaries and keep it in some folder so that I can use it at the time of docker creation.
Or can I use existing playwright docker image to install required dependencies at the time of my java app docker file creation?
from playwright.
Unfortunately not, you need to install the Maven dependencies first and then the Playwright dependencies. Since they contain OS dependencies (apt
), you can't cache them.
You could probably create some multi-layer Docker image with only Playwright first and extend from that in order to benefit from caching, so that the whole image does not need to be rebuilt when you change something in your project.
We also have an official Java Docker image, if that helps: https://playwright.dev/java/docs/docker
from playwright.
Related Issues (20)
- URL redirection issue HOT 2
- [Docs]: Svelte Component Testing Hooks
- [Feature]: debug with ability to step through code for API testing HOT 2
- Is it possible to paunch playwright with a specific version of Chromium? The latest version of browser is 126 however the test url works on browser versions 119 and below. HOT 1
- Support for Chrome Browser Account Login HOT 1
- [Feature]: Start headed from UI
- [Bug]: Dockerized Playwright test freezes when visiting a page with ant-design usage HOT 2
- [Feature]: Copy cUrl in Network tab - UI Mode/Trace report HOT 2
- [Bug]: Trying to silently download files in Electron app but facing issues HOT 2
- [Feature]: Playwright masking with configurable zIndex. HOT 2
- [Bug]: Tests running in Electron do not show snapshots in the timeline HOT 2
- [Feature]: Drag and drop from one page to another page HOT 2
- [Bug]: Visibility check succeeds for "invisible" element HOT 3
- cannot open playwright chromium browser in bundle app bulit by pyinstaller HOT 3
- [Bug]: Playwright does not stop SVG SMIL animations when capturing sreenshots HOT 1
- [Bug]: Duplicate project names intermittently overwrite each other on merge in --ui mode HOT 1
- [Bug]: Inspector will not highlight locators that are placed inside locators
- [Bug]: cannot update snapshot using ui mode after 1.43.1
- [Bug]: baseURL doesn't work after destruct context in extend HOT 1
- Playwright route.fetch: Test ended error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright.