Comments (15)
This will be available in v1.45. Experimental support has been landed on our Canary channel: https://playwright.dev/docs/canary-releases
from playwright.
We are currently blocked by GitHub Actions, that they add support for it in their runner-images repository: actions/runner-images#9691.
from playwright.
Same for me, stuck on ubuntu:22.04 for the moment
from playwright.
I'm stuck with ubuntu 24.04. any one has a workaround maybe?
from playwright.
ubuntu-24.04
is available now in GitHub Actions
from playwright.
I have the same issue. Any news on this?
from playwright.
Hi @WithMarcel, I've made progress with the steps you provided so thank you very much.
I encountered exactly your issue when reaching this point:
For
libasound2
, I initially attempted to installlibasound2t64
, only to discover it was already present. Subsequently, I checkedliboss4-salsa-asound2
, but refrained from installing it as it would entail the removal of over 70 other packages, which was not my intended outcome.
However playwright install --with-deps
still continues to complain about libasound2
not being installed, instead of encountering the next round of absent packages that you ran into here:
Proceeding with
playwright install --with-deps
, I encountered additional absent packages:libvpx7
andlibevent-2.1-7
. After obtaining and installing them, I was finally able to executeplaywright install
without encountering any further issues.
Further steps
I proceeded to instead run npx playwright install
without --with-deps
and I reached the libvpx7
and libevent-2.1.7
missing packages that are mentioned above.
I then installed them manually the same way as the earlier ones by visiting https://packages.ubuntu.com/.
After that point, npx playwright install
ran without errors.
Running tests
I am able to run npx playwright test
on the example tests generated when you add playwright to a project. 5/6 pass except [webkit] › example.spec.ts:10:5 › get started link
fails when trying to click a link.
I'll proceed for now despite this as I'm at least able to test with chromium.
from playwright.
I encountered a similar issue on Ubuntu 24.04, albeit with a wider range of missing packages: libicu70
, libffi7
, and libx264-163
. To resolve this, I downloaded them from https://packages.ubuntu.com/, specifically for the 22.04 version. While this method isn't advisable due to its deviation from best practices, I managed to install them using apt install ./<package>.deb
.
For libasound2
, I initially attempted to install libasound2t64
, only to discover it was already present. Subsequently, I checked liboss4-salsa-asound2
, but refrained from installing it as it would entail the removal of over 70 other packages, which was not my intended outcome.
Proceeding with playwright install --with-deps
, I encountered additional absent packages: libvpx7
and libevent-2.1-7
. After obtaining and installing them, I was finally able to execute playwright install
without encountering any further issues.
It's worth noting that while this workaround worked for me, I don't recommend it universally, nor can I guarantee its seamless functionality for all users. Probably as soon as Ubuntu 24.04 is officially supported, I would try to remove the above packages and reinstall playwright.
from playwright.
We are currently blocked by GitHub Actions, that they add support for it in their runner-images repository: actions/runner-images#9691.
It seems that there is still a time period before GitHub support 24.04. See here: actions/runner-images#9691 (comment)
It would be great that we can have Ubuntu 24.04 supported in playwright first, then adding a CI test once it supports.
Even a workaround is better than no support. For me, I feel hard when I am switching devices between office, home and my laptop. I have all upgraded them to 24.04, and I have to repeat the above solution 3 times.
from playwright.
I can run on 24.04 via the UI, or just using the --project firefox
flag.
from playwright.
I'm stuck with ubuntu 24.04. any one has a workaround maybe?
I was able to run it on 23.10 with this advice:
#23296 (comment)
I had to compile libx264-163
from the source code though.
from playwright.
hi @mxschmitt , do you know when the github issue will be fixed, I encouter the same error when running
apt-get update && apt-get upgrade -y && apt-get install -y libxtst6 libnss3 libcups2 libxss1 libxrandr2 libasound2 libatk1.0-0 libgtk-3-0
error:
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package libasound2 is a virtual package provided by:
liboss4-salsa-asound2 4.2-build2020-1ubuntu3
libasound2t64 1.2.11-1build2 (= 1.2.11-1build2)
E: Package 'libasound2' has no installation candidate
from playwright.
wep ya lo arreglaron??
from playwright.
Hello, it seems that the --install-deps command and playwright has issues getting the packages from what's in the default ubuntu.sources file in /etc/apt/sources.list.d
I updated my ubuntu.sources file in /etc/apt/sources.list.d to look like this:
Types: deb
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb
URIs: http://mirrors.kernel.org/ubuntu/
Suites: focal
Components: main universe
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
This got every dependency to install except libicu70 and libx264-163. Ubuntu 24.04 comes with libicu74 and libx264-164, so libicu70 and libx264-163 can't be installed unless a user reverts to those versions but I don't want to break other things by doing this.
from playwright.
@mxschmitt please try getting playwright ready for Ubuntu 24.04. Thanks!
from playwright.
Related Issues (20)
- [Bug]: @Tags - bug or feature? HOT 1
- [Feature]: Add timeout specific to the beforeAll and beforeEach and waitForResponse in playwright config
- [Bug]: --tag not working HOT 1
- How do you get help? HOT 2
- [Feature]: Sample steps for wrapper class library similar to one in selenium HOT 1
- [Bug]: Yes I still have to exit VSCode & relaunch to be able to run new tests HOT 2
- How to integrate Rally in playwright cucumber BDD typescript HOT 1
- How to use API authentication and set proxy without use test method HOT 1
- [Bug]: Chrome - clicking on three dots - crashed HOT 2
- [Bug]: Page title is not returned for newly opened pages in headed mode HOT 3
- [Feature]: Remote Browser Control via API HOT 1
- [Docs]: Page Hydration examples HOT 1
- Is there a way to generate both JSON and HTML reports using playwright cli command at once? For now I have to run the playwright script twice to generate json and html report, "npx playwright test --reporter=json" and "npx playwright test --reporter=html" HOT 1
- [Feature]: Add tags expression support
- Bloquear HOT 1
- Is there a way that playwright with run the teardown of a playwright project even if test gets interrupted by using cmd + c HOT 1
- [Feature]: Properly support WebKit's feature flags switching CLI argument HOT 1
- Installing only required playwright packages in existing Docker image HOT 2
- [Bug]: Version 1.44.1 Error occuring while using command npx playwright test in Vscode
- [Bug]: Getting white screen on test video/trace
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.