ios-webkit-debug-proxy: ios webkit debug proxy disconnects from safari on ios 10 physical device with error

The problem

Hi,

i’m running a test (login) on mobile safari using real device. Sometimes my script is working but sometimes it doesn’t. The error says that operation timed out. If i test my script using ios emulator or android real device, it works fine.

Environment

  • Appium: v1.6.5-beta
  • Desktop OS: macOS Sierra Version 10.12.4
  • Node.js version: v7.10.0
  • Real device: iPhone 6s 10.3.1
  • ios-webkit-debug-proxy v1.7.1

Link to Appium logs

here is my log-file https://gist.github.com/mare1012/fdca7353580d664dde78a99e3c4ad7b5

My desired capabilities

> desired_caps = {
>      'platformName': 'ios',
>      'platformVersion':'10.3',
>      'deviceName':'iPhone 6s',
>      'automationName':'XCUITest',
>      'browserName': 'Safari',
>      'startIWDP':True,
>      'webkitResponseTimeout': 50000,
>      'safariInitialUrl':'https://web.de',
>      'xcodeOrgId':'XXXXXXXXXX',
>      'xcodeSigningId':'iPhone Developer',
>      'udid': 'XXXXXXXXXX',
>      'autoWebView': True,
>      'newCommandTimeout': 3000,
>      'clearSystemFiles': True

My script using python

https://gist.github.com/mare1012/2495d23da32972aeb9e315745a0790d2

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 36

Most upvoted comments

hi @artygus , thanks for your reply. i’m really looking forward for your answer of this issue, because i don’t find any solution. Btw If i see the log-file, i will see these 2 lines:

[IWDP] [ ‘Page 27753/0 not found’ ] [IWDP] [ ‘Already sent close_frame’ ]

i think, IWDP is disconnected in this case. but sometimes it’s working fine.

this is the log-file, if the test is working, i hope it helps: https://gist.github.com/mare1012/ceb719aa19dea20156a3abf47ad28b69