2017-05-30 53 views
0

我正在使用以下詳細信息。如何在iPhone真實設備上檢查和寫入xpath

Appium : 1.6.4 
Ios : 10.3.1 
Mac : 10.12.4 

我需要檢查iPhone中的元素並構建Xpath。爲此,我使用「ios-inspector.html」。

enter image description here

我不能在這裏看到正確的HTML屬性。所以請幫助我如何檢查元素並構建Xpath。

+0

嘗試使用appium桌面。 https://github.com/appium/appium-desktop – Abhinav

+0

我也安裝了appium-desktop。但我正面臨着下面的日誌。 –

+0

請參閱此URL中的日誌:https://stackoverflow.com/questions/44255460/the-file-webdriveragentrunner-runner-app-couldn-t-be-opened-because-there-is-n –

回答

1

迦太基有問題。冉下面的命令,它得到解決:

rm '/usr/local/bin/carthage' 
brew install carthage 
brew link carthage 
相關問題