We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement reading console log messages that comes from the browser when a test failed.
Proposal
public List<String> getJavaScriptLog() { List<String> list = new LinkedList<>(); LogEntries logEntries = this.getWebDriver().manage().logs().get(LogType.BROWSER); for (LogEntry entry : logEntries) { list.add(new Date(entry.getTimestamp()) + " " + entry.getLevel() + " " + entry.getMessage()); } return list; }
The text was updated successfully, but these errors were encountered:
With Selenium 4 we get native support of Chrome DevTools: https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/.
Sorry, something went wrong.
No branches or pull requests
Implement reading console log messages that comes from the browser when a test failed.
Proposal
The text was updated successfully, but these errors were encountered: