Appium 1.9.1 is a patch release. Next version will likely not support Xcode 8
General
- Append the current session identifier to the protocol name prefix in server logs
- Fix the way current protocol is determined from execute response
iOS
- Support Xcode 10 and iOS 12.0
- Add a possibility to set container type for Simulator while pushing/pulling files
- Fix W3C format handling by receiveAsyncResponse command
- Fix iPhone X Simulator screen recording
Android
- Fix
getStrings
for no app
- Fix screen recording bug
- Return the current geolocation from
getGeoLocation
- Add
mobile:mobileGetDeviceInfo
command (UiAutomator2 only)
- Make âby tag nameâ selector compatible with View Tag selector (Espresso only)
- Convert mouse action events to touch actions (Espresso only)
Windows
- Add more support for W3C Actions API
- Support pointer input methods: up, down and move
- Add advanced modifier attributes to âtouchâ inputs: pressure, twist, width, height
- Add advanced modifier attributes to âpenâ inputs: pressure, twist, tilt x and y, eraser, barrel button
- Support interpolation for âpenâ and âmultitouchâ
1 Like
Have any change related to the config Capabilities? Cannot start apps after upgrade to 1.9.1
What is the error? Share the error logs
Dear Team,
I am having Appium Desktop v1.9.0. Appium Java Client v6.1.0.
I am getting error.
capabilities.setCapability(âdeviceNameâ, ââ);
capabilities.setCapability(âudidâ, ââ);
capabilities.setCapability(âplatformNameâ, âAndroidâ);
capabilities.setCapability(âplatformVersionâ, â6.0â);
capabilities.setCapability(âbrowserNameâ, âChromeâ);
capabilities.setCapability(ânoResetâ, true);
What is wrong here
org.openqa.selenium.WebDriverException: It is impossible to create a new session because âcreateSessionâ which takes HttpClient, InputStream and long was not found or it is not accessible
Build info: version: â3.14.0â, revision: âaacccce0â, time: â2018-08-02T20:19:58.91Zâ
Driver info: driver.version: AppiumDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:195)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:209)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:130)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:84)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:94)
at com.artm.automation.TestVideoAdAndroidMain.main(TestVideoAdAndroidMain.java:72)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:185)
⌠11 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The desired capabilities must include either âappPackageâ or âbrowserNameâ
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: The desired capabilities must include either âappPackageâ or âbrowserNameâ
at getResponseForW3CError (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:824:9)
at asyncHandler$ (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:375:37)
at tryCatch (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Program Files (x86)\Appium\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:122)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:125)
⌠16 more
Hi,
Yes appium tells correct only. Where is the device name and app path/appPackage and appActivity in your capabilities?
use like this,
method 1:
capabilities.setCapability(âdeviceNameâ, âyour real device name/emulator nameâ);
capabilities.setCapability(âplatformNameâ, âAndroidâ);
capabilities.setCapability(âplatformVersionâ, â6.0â);
capabilities.setCapability(âbrowserNameâ, âChromeâ);
capabilities.setCapability(âfullResetâ, false);
capabilities.setCapability(ânoResetâ, true);
capabilities.setCapability(âappâ, âyour app pathâ);
Method 2:
capabilities.setCapability(âdeviceNameâ, âyour real device name/emulator nameâ);
capabilities.setCapability(âplatformNameâ, âAndroidâ);
capabilities.setCapability(âplatformVersionâ, â6.0â);
capabilities.setCapability(âbrowserNameâ, âChromeâ);
capabilities.setCapability(âappPackageâ, âyour app package hereâ);
capabilities.setCapability(âappActivityâ, âyour app activity hereâ);
capabilities.setCapability(âfullResetâ, false);
capabilities.setCapability(ânoResetâ, true);
let me know if you still getting issue.
Thanks,
Srini
1 Like
For method 2; It will give an error
âThe desired should not include both of an âappPackageâ and a âbrowserNameââ .
Added to that is there a way we could know which appium is installed in server machine by some API ?
Hi,
I am trying to launch the control center from iphone 7 using appium 1.9.1 and java client 5.0.4 (as we have dependancy on 5.0.4).
Have been trying with all the combinations, there are no errors in the code however, i am not able to launch it.
Could someone help me for a solution.
Thanks a lot.