Is there a way to view PhantomJS console.log messages via Selenium/GhostDriver?

前端 未结 1 973
小蘑菇
小蘑菇 2021-02-13 03:49

I\'m using the Java bindings of GhostDriver to run Selenium acceptance tests against PhantomJS.

If one of the web pages requested by PhantomJS logs to the Javascript con

相关标签:
1条回答
  • 2021-02-13 04:40
    LogEntries logs = driver.manage().logs().get("browser");
    
    0 讨论(0)
提交回复
热议问题