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

OpenQA.Selenium.Chrome.ChromeDriverService.set_WhitelistedIPAddresses(System.String) error message #530

Closed
mikej0 opened this issue Mar 4, 2024 · 2 comments

Comments

@mikej0
Copy link

mikej0 commented Mar 4, 2024

Describe the bug
Hi,

Working on some tests, and had to update Selenium ChromeDriver. While I was at it I also updated Selenium.Support and Selenium.WebDriver in my project too. (Both went from v4.16.2 to 4.18.1.)

I now get the error:

System.MissingMethodException: 'Method not found: 'Void OpenQA.Selenium.Chrome.ChromeDriverService.set_WhitelistedIPAddresses(System.String)'.'

Undoing the updates for Support and WebDriver gets things working again.

To Reproduce
Steps to reproduce the behavior:

  1. Update Selenium.Support and Selenium.WebDriver to 4.18.1
  2. Try running a test - it'll fail when it tries starting the browser.

Expected behavior
A clear and concise description of what you expected to happen.
Tests should run

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome, but probably any browser.
  • Version 122

Additional context
Add any other context about the problem here.

@lefthandedgoat
Copy link
Owner

This looks like a breaking change in Selenium 4.18 that was unintended.

SeleniumHQ/selenium#13626

For now you can use 4.17 and wait for this bufix to be released in 4.18.?

@mikej0
Copy link
Author

mikej0 commented Mar 12, 2024

Hello,

Thanks for spotting that - yep, I can wait. I'd assumed the change was intentional. Although, I guess if the original property has been marked obsolete, it's only a matter of time before this'll crop up again.

Now I know.

Thanks

@mikej0 mikej0 closed this as completed Mar 12, 2024
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

No branches or pull requests

2 participants