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
I am using the following dependency versions in my project:
ext {
serenityVersion = '3.0.5'
appiumJavaClientVersion = '7.6.0'
}
I use Appium server v1.22.3.
If I try using the appium.waitForIdleTimeout=0 Appium capability in my serenity.properties file I get a DriverConfigurationError caused by:
Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (Unable to create a new remote session. Please check the server log for more details. Original error: A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.InvalidArgumentException: Invalid 'waitForIdleTimeout' setting value type. Got: java.lang.String. Expected: java.lang.Long.
I've looked into the code that gathers Appium capabilities from the properties file and it looks that all the properties are gathered with value as a String type and passed like that to Appium.
I've also tested with the latest versions of Serenity and Appium Java client but the issue is there too.
Is there any other way we can generate capabilities and pass that to the Appium driver?
The text was updated successfully, but these errors were encountered:
I've created a class that implements BeforeAWebdriverScenario and placed it into net.serenitybdd package in my project (note that this package is hardcoded in Serenity version I am using and must be respected).
Hi,
I am using the following dependency versions in my project:
If I try using the
appium.waitForIdleTimeout=0
Appium capability in myserenity.properties
file I get aDriverConfigurationError
caused by:I've looked into the code that gathers Appium capabilities from the properties file and it looks that all the properties are gathered with value as a
String
type and passed like that to Appium.I've also tested with the latest versions of Serenity and Appium Java client but the issue is there too.
Is there any other way we can generate capabilities and pass that to the Appium driver?
The text was updated successfully, but these errors were encountered: