protechbeach

Hi There! This is Nagaraj. This site designed by considering beginners who need basic core programming concepts and also going to share automation testing concept. We strongly believe consistent dedication towards the goal yields success.

[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 »

[Resolved] Cannot instantiate the type Listin java | Eclipse | Compile time error – 2022

Issue: I’m facing compile time error “Cannot instantiate the type List” while creating list object. Reason: As we are creating instance for interface, it is not allowed in java. Interfaces cannot be instantiated. That means we are trying to create instance for List interface. Solution: We can use implementation Classes to create instances. Example we …

[Resolved] Cannot instantiate the type Listin java | Eclipse | Compile time error – 2022 Read More »

Resolved: While typing Dot after java object, why I didn’t see the list of methods in eclipse. – 2022

Issue: After typing java_object Dot no list of corresponding methods list will be shown. Even I’m not finding any compilation error during object creation. Solution: Need to do few setting is eclipse, steps are as follows, Eclipse >> Window >> Preferences >> Java >> Editor >> Content Assist >> Advanced >> Click on ‘Restore Default’ …

Resolved: While typing Dot after java object, why I didn’t see the list of methods in eclipse. – 2022 Read More »

Resolved: Multiple markers at this line – The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from  required .class files – 2022

Issue: Error while creating Map object in eclipse. Error: “Multiple markers at this line – The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from  required .class files” used below eclipse version, Eclipse IDE for Java Developers, Version: Helios Service Release 1Build id: 20100917-0705 No error, if we try to work with other class …

Resolved: Multiple markers at this line – The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from  required .class files – 2022 Read More »