Hello All,
I can able to inspect the webElements on iPhone device by following the below steps.
- Opened the Safari Browser on MAC.
- Enabled “Show Develop Menu” option in Advanced popup.
- Enabled “Web Inspector” option in iPhone device.
- Opened the Safari Browser on iPhone and navigated to any of the website.
- Then opened the safari browser on Mac.
- Navigated to “Develop” Tab, where I can find the connected device.
- Mouse over on the device, I can find the URL.
- By clicking on that URL , I can able to inspect the webElements for iPhone device on MAC itself.
But I need to inspect the following Data Types in iPhone.
- Data Picker.
- Radio button.
- Checkbox.
Kindly suggest how to inspect those data types.
You can use appium desktop client to inspect elements of a native app or web elements of a mobile web app, https://github.com/appium/appium-desktop
1 Like
When I download the appium-Desktop, there is no app file.
So kindly suggest me how to install the appium.
Since I have already installed appium 1.6.4
Hi…
I have downloaded and installed successfully.
But when start Appium, I am facing the below logs.
XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[XCUITest] Log file for xcodebuild test: /Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/FBB45442-5F6E-45A1-A5C7-220406D799DB/Session-WebDriverAgentRunner-2017-05-29_193300-rHJdSc.log
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=NSCocoaErrorDomain Code=260 “The file “WebDriverAgentRunner-Runner.app” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/Users/msubramaniam/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app, NSUnderlyingError=0x7ff00260c080 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode] 2017-05-29 19:33:00.294 xcodebuild[56508:705992] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch com.apple.mobilesafari application”,“sessionId”:“4047BBEB-B5B8-4C1E-83AE-82AD48F3D18F”,“status”:13}
[XCUITest] Failed to create WDA session. Retrying…
[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1496066936485 (19:38:56 GMT+0530 (IST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.apple.mobilesafari”,“arguments”:["-u",“http://appium.io”],“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
Kindly help me to resolve…!!