Rayrun
← Back to Discord Forum

Has the behavior regarding "outputDir" changed recently?

alexander.bouposted in #help-playwright
Open in Discord
alexander.bou

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?"

2 replies

I'd suggest to file an issue on github but personally I don't think the behavior changed recently, from what I observed Playwright always recreated output dir.

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.