Skip to content

Conversation

baflQA
Copy link
Contributor

@baflQA baflQA commented Jun 23, 2023

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Extract the original driver from the decorated driver.

Motivation and Context

When trying to use the Augmentor on a decorated driver, the extractRemoteWebDriver method will be executed infinitely.

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.

Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thanks for this PR.

Is there a way we can reproduce the issue first to understand the fix? Maybe it can be added as a test?

@baflQA
Copy link
Contributor Author

baflQA commented Jun 24, 2023

Thanks for this PR.

Is there a way we can reproduce the issue first to understand the fix? Maybe it can be added as a test?

I will be happy to add a test, once I'm finished with indexing the project 😂 it was running the whole night and crashed my IDE at some point...

@titusfortner
Copy link
Member

Make sure you mark as excluded all the bazel-* directories and the build directory. InteliJ hates indexing Bazel generated things for some reason.

@baflQA baflQA requested a review from diemol June 26, 2023 09:08
@baflQA
Copy link
Contributor Author

baflQA commented Jun 26, 2023

Make sure you mark as excluded all the bazel-* directories and the build directory. InteliJ hates indexing Bazel generated things for some reason.

That helped a lot! Thx

@titusfortner
Copy link
Member

You have *no idea how long it took me to figure out what was causing the problem...

@baflQA baflQA requested a review from diemol June 27, 2023 20:13
Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you, @baflQA!

@diemol diemol merged commit c49361a into SeleniumHQ:trunk Jun 28, 2023
@baflQA baflQA deleted the extractOriginalDriver branch June 28, 2023 15:37
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.

3 participants