Enable browser logging to get console.log #238
Answered
by
ElSnoMan
szabolcslevay
asked this question in
Q&A
-
How can I set up the below capability/option in pylenium.json?
or even better, as
|
Beta Was this translation helpful? Give feedback.
Answered by
ElSnoMan
Mar 28, 2022
Replies: 2 comments 1 reply
-
For example: {
"driver": {
"browser": "chrome",
"remote_url": "",
"wait_time": 10,
"page_load_wait_time": 0,
"options": [],
"capabilities": {
"goog:loggingPrefs": { "performance": "ALL" }
},
...
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
szabolcslevay
-
That's awesome, @ElSnoMan! Already tested and it's working! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DesiredCapabilities
are deprecated, so we use theOptions
class of the specified browser. In the end, you would only need to update the dictionary via the CLI orpylenium.json
.For example: