Adsense

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

newest questions on wordpress