How to debug your Playwright scripts with the built-in inspector

preview_player
Показать описание
Debugging a headless automation script can be tough. Luckily, Playwright comes with a built-in inspector tool to make all browser actions easier to debug.

#playwright
Рекомендации по теме
Комментарии
Автор

thanks a lot, you saved me man.
your IDE looks nice, which plugin are you using ?

taoufiqken
Автор

Great Stuff, amazing content. I have a quick question about the Codegen record popup, I am unable to see JavaScript in the target dropdown, using Playwright version 1.29.1. any lead will be highly appreciated

ravifeb
Автор

Is it possible to search for other locators when debugging each step?

Similar to when running a Cypress JS test you can enter locators and they are highlighted on the UI?

damienosullivan
Автор

Is it possible to debug from middle of a test script of chromium is already open? Dont want to start from beginning esp. if its a huge test script

amytavmukherjee
Автор

hi thanks,
but its stopped when ever we switches to new page from one page to another via inspect

praveenparthiban