Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: explain attachments in ui mode (#23472)
Debbie O'Briendfd151832706
diff --git a/docs/src/test-ui-mode-js.md b/docs/src/test-ui-mode-js.mdindex 9638b96048..910bff4723 100644--- a/docs/src/test-ui-mode-js.md+++ b/docs/src/test-ui-mode-js.md@@ -50,6 +50,12 @@ As you hover over each action of your test the source code for the test is highl+### Attachments++The "Attachments" tab allows you to explore attachments. If you're doing [visual regression testing](./test-snapshots.md), you'll be able to compare screenshots by examining the image diff, the actual image and the expected image. When you click on the expected image you can use the slider to slide one image over the other so you can easily see the differences in your screenshots.+++### Pop out and inspect the DOMPop out the DOM snapshot into it's own window for a better debugging experience by clicking on the pop out icon above the DOM snapshot. From there you can open the browser DevTools and inspect the HTML, CSS, Console etc. Go back to UI Mode and click on another action and pop that one out to easily compare the two side by side or debug each individually.@@ -74,4 +80,4 @@ Click on the pick locator button and hover over the DOM snapshot to see the locaNext to the name of each test in the sidebar you will find an eye icon. Clicking on the icon will activate watch mode which will re-run the test when you make changes to it. You can watch a number of tests at the same time be clicking the eye icon next to each one or all tests by clicking the eye icon at the top of the sidebar. If you are using VS Code then you can easily open your test by clicking on the file icon next to the eye icon. This will open your test in VS Code right at the line of code that you clicked on.-\ No newline at end of file+