You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.ClassCastException: class org.openqa.selenium.MutableCapabilities cannot be cast to class java.util.Map (org.openqa.selenium.MutableCapabilities is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap') at net.serenitybdd.plugins.saucelabs.BeforeASauceLabsScenario.apply(BeforeASauceLabsScenario.java:30)
plz help me.
The text was updated successfully, but these errors were encountered:
Scenario : I am trying to run mobile automation scripts on sauce labs with below configuration.
Below is my Serenity.conf file
sauce {
active = true
username = ""
key = ""
}
webdriver {
driver = remote
remote.url = "https://:@ondemand.us-west-1.saucelabs.com:443/wd/hub"
wait.for.timeout = 20000
capabilities {
platformName = "android"
appium.automationName = "uiautomator2"
appium.deviceName = "Android GoogleAPI Emulator"
appium.platformVersion = "12.0"
appium.app = "storage:filename=xxxxx.apk"
appium.appActivity = "xxx"
appium.appPackage = "xxxxxx"
"sauce:options" {
build = "appium-build-TQE9W"
name = "telusConnectTest"
recordVideo = true
recordLogs = false
}
}
}
issue : getting below error
Caused by: java.lang.ClassCastException: class org.openqa.selenium.MutableCapabilities cannot be cast to class java.util.Map (org.openqa.selenium.MutableCapabilities is in unnamed module of loader 'app'; java.util.Map is in module java.base of loader 'bootstrap') at net.serenitybdd.plugins.saucelabs.BeforeASauceLabsScenario.apply(BeforeASauceLabsScenario.java:30)
plz help me.
The text was updated successfully, but these errors were encountered: