Hello, I keep getting the following error using appium 1.5 released last week:
[debug] [Appium] Capability 'waitForAppScript' changed from string to boolean. This may cause unexpected behavior
[BaseDriver] SessionNotCreatedError: A new session could not be created. Details: The desiredCapabilities object was not valid for the following reason(s): waitForAppScript must be of type string.
My dcaps in appium logs:
[Appium] Capabilities:
[Appium] udid: '---'
[Appium] platformName: 'iOS'
[Appium] platformVersion: '8.3'
[Appium] deviceName: '---'
[Appium] sendKeyStrategy: 'grouped'
[Appium] autoAcceptAlerts: false
[Appium] waitForAppScript: 'true'
[Appium] app: '---'
[Appium] newCommandTimeout: 180
my dcaps in code:
caps: {
udid: $udid,
platformName: 'iOS',
platformVersion: @version,
deviceName: @name,
sendKeyStrategy: 'grouped',
autoAcceptAlerts: $property['autoAcceptAlerts'],
waitForAppScript: 'true',
app: @app,
newCommandTimeout: 180
}
I've tried a couple of different combinations of true True 'true' 'True' "true" "True"
all with same results.
The info on the error seems strange also it says "Capability 'waitForAppScript' changed from string to boolean." but then the error message itself says the opposite. "Details: The desiredCapabilities object was not valid for the following reason(s): waitForAppScript must be of type string."
Is anyone else facing the same issue?