Is anyone experiencing issues while running Katalon scripts in browsers other than Chrome?

Is anyone experiencing issues while running Katalon scripts in browsers other than Chrome?
I am facing different issues on running evena simple script in Firefox and Edge Chromium

Consider this is the script:
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import static com.kms.katalon.core.testobject.ObjectRepository.findWindowsObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testng.keyword.TestNGBuiltinKeywords as TestNGKW
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.windows.keyword.WindowsBuiltinKeywords as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

WebUI.openBrowser(‘’)
WebUI.navigateToUrl(“https://www.google.com”)
WebUI.delay(5)
WebUI.closeBrowser()

Firefox message:
Caused by: java.lang.NullPointerException: Cannot invoke “java.util.List.contains(Object)” because the return value of “java.util.Map.get(Object)” is null

Edge Chromium Message:
Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Unable to parse remote response: Unknown error

** All my webdrivers are updated.

1 Like

This is my Desired capabilities
{
“args”: [
“–disable-dev-shm-usage”,
“–disable-gpu”,
“–disable-extensions”,
“–crash-dumps-dir\u003d/tmp”,
“–start-maximized”,
“–disable-notifications”,
“–ignore-certificate-errors”,
“–remote-allow-origins\u003d*”
],
“webSocketUrl”: false
}

I have removed it now and now I could run the sample script in Firefox and Edge Chromium.
If anybody could find any other reason do share.

How about check all your “static” methods for some instance of List<WebElement>, List<String> or even just List, that you are parsing “contains()” on? Maybe comment them out for a test if you only have a couple. “Static” methods always get loaded when you run your test.

Which OS are you using? Windows? Mac? Linux?

Which version of Katalon Studio are you using?

Are you ok with Google Chrome?

Which version of Firefox and Edge are you using?

How about trying to uninstall Katalon Studio and reinstall it?

How about trying to upgrade Katalon Studio to the latest version?

I guess you recently upgraded KS from 9.x to 10.x and got into troubles. In that case, you should have a look and rewrite your project.

I am using 10.2.1 and was using 10.2.0
Whatever the issues I am facing, it started with the latest version.