Comments (8)
Have you tried deleting the bin/ folder? Might be similar to #2069.
from playwright-dotnet.
just tried but it hasn't made any difference
from playwright-dotnet.
The issue you are observing is that there is an v1.41 (old) assembly trying to interact with a recent v1.42 Playwright driver.
Could you try deleting the obj folder as well? Do you maybe depend on multiple Playwright versions in your suite?
from playwright-dotnet.
unfortunately that hasn't helped either.
I have a solution with two projects in it.
one project is a common one that has the playwright.net NuGet package. I build and publish a NuGet package from this to be consumed by any other test project in our organisation.
the other project in my solution is a simple test project that references the common project directly just to verify things are happy before I push and build the common one. this test project does not consume the playwright.net NuGet directly.
maybe this problem is only evident when a test project consumes playwright in this manner.
Update:
even if I run the browser install command from the output folder of the common project I get the same error so I don't think it has anything to do with one project referencing another
from playwright-dotnet.
Would it be possible to share a reproduction with us which we can run locally? Otherwise we are unfortunately not able to act on it, thanks for your understanding.
from playwright-dotnet.
Please try with the attached solution
from playwright-dotnet.
I unfortunately was not able to reproduce, deleted obj/bin directory in both of the directories.
from playwright-dotnet.
thanks. It seems to be working for me if I run powershell as admin so I'll close this issue.
I don't know why I didn't think of that before. I don't recall having to do it on previous upgrades.
from playwright-dotnet.
Related Issues (20)
- [Bug]: `NewContextAsync` on v1.43.0 is not firing up Chromium in Incognito mode HOT 6
- [Bug]: Tests in chromium based browsers halting on chrome-error://chromewebdata/ HOT 4
- [Bug]: Custom/Unknown CDP events cause playwright to close HOT 3
- [Bug]: Driver not found: /var/pkg-cache/project/project/instances/.playwright/node/linux-x64/node HOT 2
- [Bug]: Web Browser opening many times on a disabled Headless Mode HOT 5
- [Bug]: playwright.ps1 won't run on 1.43 HOT 2
- [Bug]: GetByLable/GetByRole and FillAsync is filling text in wrong text box HOT 2
- [Bug]: MSEdge installation fails on macOS 14 GitHub Actions hosted runners HOT 2
- [Bug]: Style attribute does not work for Locator.ScreenshotAsync
- How do I remove "Chrome is being controlled by automated testing software "? HOT 1
- [Bug]: has-text does not work on input fields HOT 2
- [Feature]: Subscribe to arbitrary event bindings HOT 4
- [Docs]: Contributing guide HOT 4
- [Regression]: PauseAsync/CodeGen no longer highlighting the exact location of locators on screen HOT 3
- [Feature]: Add cancellation token support HOT 1
- [Bug]: NuGet package includes nodejs 20.11.0 which is included in CVE-2024-27983 HOT 1
- [Docs]: How to start application in docker to be open in CI Playwright tests? HOT 2
- Change browser name programmatically / run test across multiple browsers in NUnit HOT 4
- [Bug]: Playwright chain of locators insert double ">" HOT 2
- [Feature]: Subtype `PlaywrightException` in the case of failing assertions
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-dotnet.