We removed JWP support from Selenium Java recently, and this unveiled a case where "session not created: No matching capabilities found" is returned by ChromeDriver when the "platformName" is uppercase. If the "platformName" is sent lowercase, it works. It is not mentioned in the processing capabilities section of WebDriver, but I believe "platformName" matching should ignore case.
I've seen this happens when "WINDOWS", "MAC", and "LINUX" are sent.
System
We removed JWP support from Selenium Java recently, and this unveiled a case where "session not created: No matching capabilities found" is returned by ChromeDriver when the "platformName" is uppercase. If the "platformName" is sent lowercase, it works. It is not mentioned in the processing capabilities section of WebDriver, but I believe "platformName" matching should ignore case.
I've seen this happens when "WINDOWS", "MAC", and "LINUX" are sent.
Related Selenium issue https://github.com/SeleniumHQ/selenium/issues/11946
For now, I've changed the code in Java to send the platformName lowercase, but I believe this should be looked at.
Thanks!
Testcase
Start GeckoDriver locally:
Post the following payload to http://localhost:9515/session
Stacktrace
Trace-level log