When I run test cases and they finish, in my logs output directory is a new directory Browser/traces which has a directory named with a GUID, however that directory is empty. I guess that’s the Playwright’s temporary traces directory. I wonder why it’s left in place after text execution.
That is correct, it’s left over from Playwright side. Library deletes the ${OUTPUT_DIR}/Browser folder at the test suite startup. But we don’t check empty folders at the test execution end.
1 Like
Thanks for the info.
Is there any way to disable the creating of the ${OUTPUT_DIR}/Browser/traces folder?
There is not, but there is a bug When new RF execution starts, coverage directory is not deleted · Issue #4006 · MarketSquare/robotframework-browser · GitHub
Should be now fixed in the latest releases. If something is still leaking, please raise new issue
1 Like