How to capture the browser console if a test fails due to UI error?

前端 未结 0 1121
遇见更好的自我
遇见更好的自我 2021-01-18 21:22

In the automation framework using Selenium+TestNG+Java. I want to check browser logs, if there are any SEVERE logs while executing any tests, it should mark the test as FAIL

相关标签:
回答
  • 消灭零回复
提交回复
热议问题