JonasPammer commented on PR #15067: URL: https://github.com/apache/grails-core/pull/15067#issuecomment-3311878593
> However, I don't think our GebConfig integration is working perfectly yet. I tried switching to `new RemoteWebDriver(new FirefoxOptions())` and it blows up as the container is browser specific and seems to default to chrome. > > ``` > Could not start a new session. Response code 500. Message: Could not start a new session. No nodes support the capabilities in the request > Host info: host: 'f1b81917b1f3', ip: '172.17.0.4' > Build info: version: '4.34.0', revision: '2a4c61c498' > System info: [os.name](http://os.name/): 'Linux', os.arch: 'amd64', os.version: '6.10.14-linuxkit', java.version: '21.0.8' > Driver info: driver.version: unknown > Build info: version: '4.34.0', revision: '707dcb4246*' > System info: [os.name](http://os.name/): 'Linux', os.arch: 'amd64', os.version: '6.8.0-79-generic', java.version: '17.0.14' > Driver info: org.openqa.selenium.remote.RemoteWebDriver > Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: true, browserName: firefox, grails:gebConfigUsed: true, moz:firefoxOptions: {prefs: {remote.active-protocols: 1}}}]}] > Capabilities {acceptInsecureCerts: true, browserName: firefox, grails:gebConfigUsed: true, moz:firefoxOptions: {prefs: {remote.active-protocols: 1}}} > org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Could not start a new session. No nodes support the capabilities in the request > ``` > > This is now fixed in [fcc4d82](https://github.com/apache/grails-core/pull/15067/commits/fcc4d821af41f36b53a4f20428f7fa6693ea032b) Weird, because [it](https://github.com/testcontainers/testcontainers-java/blob/51219646dca72ad267e575bf25d0b60208c60b42/modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java#L195) uses [getStandardImageForCapabilities](https://github.com/testcontainers/testcontainers-java/blob/51219646dca72ad267e575bf25d0b60208c60b42/modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java#L246) Will try to reproduce -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
