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!
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:
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.
Thanks @david.goichman I’m able to see the dev tools. Now I want to select the ‘console’ (while running the rest, i want to see the errors in the console). How to select console?
Best Regards,
Keerthana
Hello @keerthanagowda396
You can use the following action instead, you will get the console logs in the output parameter.
Thanks @ran.tzur I tried the above solution but, I’m not looking for the logs. While running the test, I want to see the errors in the console. Even though functionality works, there will be some errors in the console (by seeing the console we’ll get to know the errors). Is there any way to select ‘Console’?
I’m looking forward to some help