Created
April 13, 2017 10:01
-
-
Save jpetitcolas/4b93a9c9745af5345182fadd0176d298 to your computer and use it in GitHub Desktop.
Display browser logs in Selenium logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driver.manage().logs() | |
.get('browser') | |
.then(v => v && v.length && console.log(v)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment