Replies: 1 comment 1 reply
-
| You can capture Firefox browser console logs by enabling the preferences below in your moz: firefoxOptions capabilities: Then start Firefox with --jsconsole or --console flags. Gitbash - Finally, use docker logs <container_id> to retrieve the console output. This approach works reliably for most recent Selenium-Firefox images. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to retrieve the browser console logs from Firefox. I'm able to do this with the Chrome container but have been unsuccessful using the Firefox container.
Firefox offers a couple preferences to redirect console logs to stdout
devtools.console.stdout.contentanddevtools.console.stdout.chrome. However, I don't believe the Firefox container is capturing the stdout from Firefox.Is there a way to capture stdout coming from the Firefox browser? Maybe there's a way to redirect the output to a file? The only output coming from the
docker run ...cmd seems to be the Selenium log.Beta Was this translation helpful? Give feedback.
All reactions