Giter Site home page Giter Site logo

Comments (8)

mxschmitt avatar mxschmitt commented on June 12, 2024

Have you tried deleting the bin/ folder? Might be similar to #2069.

from playwright-dotnet.

johnboygit avatar johnboygit commented on June 12, 2024

just tried but it hasn't made any difference

from playwright-dotnet.

mxschmitt avatar mxschmitt commented on June 12, 2024

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.

johnboygit avatar johnboygit commented on June 12, 2024

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.

mxschmitt avatar mxschmitt commented on June 12, 2024

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.

johnboygit avatar johnboygit commented on June 12, 2024

PlaywrightReproIssue.zip

Please try with the attached solution

from playwright-dotnet.

mxschmitt avatar mxschmitt commented on June 12, 2024

I unfortunately was not able to reproduce, deleted obj/bin directory in both of the directories.

from playwright-dotnet.

johnboygit avatar johnboygit commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.