Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] Add support for ChromeDriver --enable-chrome-logs #9575

Conversation

Gudahtt
Copy link
Contributor

@Gudahtt Gudahtt commented Jun 15, 2021

Description

The --enable-chrome-logs ChromeDriver option can now be enabled using the Chromium (or Chrome) ServiceBuilder, similarly to the other options provided by ChromeDriver.

Motivation and Context

I found this option critically useful for debugging test failures. It can reveal internal Chrome errors, or console errors for the page being tested.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

I have not added any additional tests because this module appears to be untested at the moment. I don't know enough about this project's test setup to know where to begin with that.

The `--enable-chrome-logs` ChromeDriver option can now be enabled using
the Chromium (or Chrome) ServiceBuilder, similarly to the other options
provided by ChromeDriver.

I found this option critically useful for debugging test failures.
@CLAassistant
Copy link

CLAassistant commented Jun 15, 2021

CLA assistant check
All committers have signed the CLA.

@sonarcloud
Copy link

sonarcloud bot commented Jul 16, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AutomatedTester AutomatedTester merged commit e2866fc into SeleniumHQ:trunk Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants