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

RPA.Browser.Selenium: Correctly detect browser version if a custom browser path is provided #1124

Open
cmin764 opened this issue Nov 2, 2023 · 0 comments
Labels
bug Bad or unexpected behaviour

Comments

@cmin764
Copy link
Member

cmin764 commented Nov 2, 2023

When a custom browser binary path location is provided with the binary_location field through the passed options param, while the "targeted browser version" log is retrieved and displayed according to this, the downloaded webdriver doesn't take into account this custom path and still relies on the default one.

Steps to reproduce

  1. Have on the system the same browser twice, but with different versions.
  2. Pass through binary_location the path of the non-default browser.
  3. Effect: the version is pulled from the default one and is used to download a webdriver which might be incompatible with the selected custom different-in-version browser passed through the option.

⚠️ But first of all, you shouldn't have two identical browsers on the same machine of different versions. (and it's rare to find the need to pass a custom binary location as the browser is usually auto-detected by the webdriver itself)

@cmin764 cmin764 added the bug Bad or unexpected behaviour label Nov 2, 2023
@cmin764 cmin764 added this to Pending in RPA Framework via automation Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bad or unexpected behaviour
Projects
Development

No branches or pull requests

1 participant