Appium 1.6 final version link and appium inspector for IOS 10

Where is the link to download the final updated version of appium 1.6 for mac
In appium.io the final version is 1.5.3
And also to inspect elements of an app in IOS 10 real device other than using print page source method.

my favourite link for Mac:

brew install node # get node.js
npm install -g appium # get appium
npm install wd # get appium client
appium & # start appium

2 Likes

@Aleksei
Thanks for information.I am getting this error

try

brew update

and repeat. sorry no more ideas. hope you are not with Sierra (i did not move yet)

I am facing issues with Appium 1.6.0 and iOS 10:

when i run ‘idevice_id -l’ i get the device’s 40 digit UDID
but still same error while instantiating my iOS driver from Eclipse
using java :

node version 6.8.1

[Appium] Capabilities:

[Appium] app: ‘/Volumes/Automation/XXXX.ipa’

[Appium] noReset: true

[Appium] newCommandTimeout: 900

[Appium] platformVersion: ‘10.0’

[Appium] bundleId: ‘com.appster.XXXX’

[Appium] platformName: ‘iOS’

[Appium] udid: ‘6aaf5b44904XXXX505b54XX5c09XXXX1208eed7d’

[Appium] deviceName: ‘iPhone 6’

[Appium] autoAcceptAlerts: true

[debug] [XCUITest] XCUITestDriver version: 2.0.26

[BaseDriver] Session created with session id: 5435bee9-7d0b-4cff-b25b-c4b26a5d9310

[debug] [XCUITest] Xcode version set to ‘8.0’

[debug] [XCUITest] iOS SDK Version set to ‘10.0’

Also i am getting this issue regarding Desired Capabilities:

[HTTP] --> POST /wd/hub/session
{“capabilities”:{“desiredCapabilities”:{“app”:"/Volumes/Automation/XXXX.ipa",“noReset”:true,“newCommandTimeout”:900,“platformVersion”:“10.0”,“bundleId”:“com.YYYY.XXXX”,“platformName”:“iOS”,“udid”:“6aaf5b44904XXXX505b54XX5c09XXXX1208eed7d”,“deviceName”:"iPhone

6",“autoAcceptAlerts”:true},“requiredCapabilities”:null},“desiredCapabilities”:{“app”:"/Volumes/Automation/XXXX.ipa",“noReset”:true,“newCommandTimeout”:900,“platformVersion”:“10.0”,“bundleId”:“com.YYYY.XXXX”,“platformName”:“iOS”,“udid”:“6aaf5b44904XXXX505b54XX5c09XXXX1208eed7d8eed7d”,“deviceName”:“iPhone
6”,“autoAcceptAlerts”:true},“requiredCapabilities”:null}

[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters
were incorrect. We wanted
{“required”:[“desiredCapabilities”],“optional”:[“requiredCapabilities”,“sessionId”,“id”]}
and you sent
[“capabilities”,“desiredCapabilities”,“requiredCapabilities”]

[HTTP] <-- POST /wd/hub/session 400 4 ms - 201

I am not able to understand why i am getting BadParametersError
although in my knowledge i am using all the correct values and i am not
able to launch appium inspector also it says “not able to create a new session”

Your help would be highly appreciated.

Hi all,

Currently, appium 1.6 is not available in GUI to inspect the elements, but there is workaround you can get the elements.

Try this :

This video might help you guys

@Tech_Tock_Tech
Thanks for the wonderful Video…Can you please confirm whether photo sliding functionality works in IOS 10 using automated test cases? Manually it works and also same code worked for me for older version of IOS

Can any one please confirm me…
Thanks,
Vani

1 Like

Hi, i have similar issue than @Shantha. I’ve tried to install new appium multiple times but i always get this error message:

[email protected] install /usr/local/lib/node_modules/appium/node_modules/appium-windows-driver
node install-npm.js

module.js:339
throw err;
^

Error: Cannot find module ‘core-js/library/fn/symbol’
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/core-js/symbol.js:1:93)
at Module._compile (module.js:435:26)
at Object.Module._extensions…js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)

I’ve updated the brew = no help. Rebooted my mac = no help. I’m running OSx El Capitan.
Any idea what might be the issue?

Sometimes i also get this error message but when repeating install couple of times it will pass:

[email protected] install /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-driver
node ./bin/install.js

Error: Cannot find module ‘…/modules/web.dom.iterable’
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/usr/local/lib/node_modules/appium/node_modules/asyncbox/node_modules/core-js/library/fn/is-iterable.js:1:1)
at Module._compile (module.js:435:26)
at Object.Module._extensions…js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)

Windows driver is always failing

sorry i am on Mac. just in case try to update node.js and npm on Windows

I’m also running mac :slight_smile: Now the installation passed and i’ve 1.6.0 version installed! So updating node.js or npm did the trick. Thanks for the very quick reply!

nice (another 16 characters)

can you post the screenshot so that i can have idea what photo sliding

TouchAction act=new TouchAction((MobileDriver) driver);
act.press(10,65).waitAction(2000).moveTo(140, 10).perform().release();

Startx=131
starty=10
endx=65
Element size=(219,21)

I need to swipe element from right to left horizontally.
How can i set the co ordinate points?The element is in one of the app of ios 10 device .

When do we expect the appium 1.6 UI inspector to be released?

1 Like

Yes, when can we expect it?

I can confirm that the following steps work from this website

It is important that you select iphone 7 and enter 10.1

above commands work for me thank alot