Comments (3)
As of today this is intentional, since different package managers install playwright in different locations. It's often not only about playwright-core
, its also about @playwright/test
. Most of the end-to-end testing projects we've seen depend on third-party libraries as well - so it wouldn't be beneficial for them. So "npm ci" is usually the way to go.
from playwright.
My project uses TestContainers to orchestrate all dependencies for tests. So every test will spin up the needed containers, which includes the Playwright container as well. It's a big overhead to run npm ci
during container startup, as it's done for every single startup.
from playwright.
I'm not familiar with Testcontainers. Usually installing Playwright takes 2-4 seconds via NPM, since the browsers/OS dependencies are already satisfied in the Docker container. Would you like to reduce this to 0?
Looks like they have no official support for Playwright yet? testcontainers/testcontainers-dotnet#1033 so maybe they will address it there,
There is a PR which was closed: testcontainers/testcontainers-node#726.
from playwright.
Related Issues (20)
- Issue with Rendering <Outlet /> in Playwright Component Tests HOT 3
- [Bug]: In CLI, workers option make NaN.
- [Bug]: Playwright Trace Viewer not loading UI when used via WebView2 HOT 2
- [Feature]: PageGotoOptions.Timeout should support any kind of errors HOT 1
- [Questions]gmail.com: This browser or app may not be secure. HOT 1
- [Feature]: Vue typesafe mount slots and events
- [While Runing Test in ADO with chrome]: net::ERR_HTTP2_PROTOCOL_ERROR HOT 3
- [Feature]: Vue generate hooksConfig boilerplate
- [Feature]: Custom Assert Messages within the .NET Bindings HOT 1
- [Bug]: The userAgent set in newContext cannot take effect in the worker HOT 3
- [Feature]: Expose `BrowserServer` contexts for hooking lifecycle methods HOT 2
- [Bug]: Missing_Document_Or_Link_For_Playwright_Python_Pytest_Reports HOT 2
- [Bug]: Cannot type French special characters (ç/é/ù/etc…) using page.keyboard.press HOT 2
- Want to understand how codegen works ? HOT 2
- [Feature]: Permission Granting for Storage Access API
- [Bug]: Browser cannot be closed properly in `bun` throwing `Target page, context or browser has been closed` HOT 1
- [Bug]: HOT 3
- [Bug]: Timeout Error when Launching Chromium with Bun JS HOT 1
- by using chromium.connect always browser.contexts() are empty HOT 2
- [Feature]: dynamic port in webServer
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.