Skip to content

Conversation

jerone
Copy link
Contributor

@jerone jerone commented Aug 4, 2023

Description

I noticed in 962a34b that an if-statement was used, while probably an else-if should have been used, to skip all other conditions when the Chrome driver is used.

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.

@CLAassistant
Copy link

CLAassistant commented Aug 4, 2023

CLA assistant check
All committers have signed the CLA.

@jerone jerone changed the title Small performance improvement for DriverFactory [dotnet] Small performance improvement for DriverFactory Aug 4, 2023
Copy link
Member

@titusfortner titusfortner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I noticed in SeleniumHQ@962a34b that an `if`-statement was used, while probably an `else-if` should have been used, to skip all other conditions when the Chrome driver is used.
@diemol diemol merged commit 0579687 into SeleniumHQ:trunk Aug 7, 2023
@jerone jerone deleted the jerone-patch-1 branch August 7, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants