Comments for Set Strict Mode

Topic for comments about Browser library keyword Set Strict Mode

From the documentation it’s not clear whether the strict mode is reset automatically for each test or each suite, or if the change persists for the life of the test. I’m guessing it’s a global setting that doesn’t automatically revert to the default. It would be nice if that was spelled out in the docs.

1 Like

Your assumption is correct, it is global in the library. It’s also global in Playwright side.

We should enhance the docs too.

3 Likes