Sharing here what I learned and likes
Pages
(Move to ...)
Home
Websites
Contact us
▼
How to read or save browser javascript console log using selenium
You can use the following code snippet:
for (LogEntry logEntry : driver.manage().logs().get("browser").getAll()) {
System.out.println(logEntry);
}
No comments:
Post a Comment
comment here
‹
›
Home
View web version
No comments:
Post a Comment
comment here