It seems that playwrihgt now deletes and recreates th eoutputDir which is not possible for every outputDir. In my case it is a docker volume mount point. Playwright fails with a very strange error "TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))". This can also be reproduced without docker, just specify an "outputDir" which can not be deleted by the current user.
Does someone have similar experience?
This thread is trying to answer question "Has the behavior regarding 'outputDir' in Playwright changed recently?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].