'Puppeteer/Playwright is it possible to set the browser visible when launching as headless

Is it possible to launch Playwright with headless set to true and then later while the browser is still running change headless to false? I could not find anything in the documentation.



Solution 1:[1]

It is not possible for a particular test, as we configure at the start of the test, which cannot be modified as per my knowledge.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 yuvraj