lefthandedgoat/canopy

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

mikej0 opened this issue · 2 comments

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.

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.?

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