Using screenshots is a crucial part of visual testing in Playwright. When you have a lot of tests and test files in your testing project, keeping your gold screenshots in...
Sometimes, you need to deal with sliders in your tests. Playwright does not have any built-in tools to interact with sliders. However, it is not a problem at all. In...
You may need to get the outerHTML of the element in your tests. This seems simple, but Playwright doesn’t have an outerHTML() function. Let’s start with an example. For this...