selenium

[Resolved] The method chrome() is undefined for the type DesiredCapabilities – 2022

Issue Facing below error while working with chrome DesiredCapabilities. The method chrome() is undefined for the type DesiredCapabilities. Solution: Use ChromeOptions object and passed it to the ChromeDriver() constructor as the old method Capabilities is deprecated.We not need to use options.merge(capabilities); instead, you can use options.setCapability(params, params). Or we can completely skip DesiredCapabilities and use …

[Resolved] The method chrome() is undefined for the type DesiredCapabilities – 2022 Read More »

[Resolved] Exception in thread “main” org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 98 Current browser version is 97.0.4692.71 – 2022

Issue: While Newly configuring selenium WebDriver in eclipse facing below error during application launch. Exception in thread “main” org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 98 Current browser version is 97.0.4692.71 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Build info: version: …

[Resolved] Exception in thread “main” org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 98 Current browser version is 97.0.4692.71 – 2022 Read More »