TestProject Forum
Powered by leading experts in the test automation community

How to open developers tool

Hello!

I want to open the developers tool (while running the rest, I want to see the console). I tried sending F12 keys but, it didn’t work for me. How to achieve this?

I’m looking forward to some help

Best Regards,
Keerthana

Hello @keerthanagowda396.

You can place the test in a job, and add custom capabilities:

image

These will open the Chrome Dev Tools:

“goog:chromeOptions” : {
“args”: [
“–auto-open-devtools-for-tabs”
]
}

The capabilities in total should look like this:

Now when running the job, the Dev Tools will open by default:

When recording, consider opening the dev tools normally by inspecting the page or pressing F12.