Skip to content

Not able to call 'setSetting' API #1310

Closed
@jineshqa

Description

@jineshqa

facebookarchive/WebDriverAgent#1074

The problem

Appium fails to fetch snapshot. I think it might be related to above issue.

Environment

  • Appium version (or git revision) that exhibits the issue: 1.15.1
  • Last Appium version that did not exhibit the issue (if applicable): NA
  • Desktop OS/version used to run Appium: Mojave 10.14.6
  • Node.js version (unless using Appium.app|exe): Using .app
  • Npm or Yarn package manager:
  • Mobile platform/version under test: iOS
  • Real device or emulator/simulator: Simulator
  • Appium CLI or Appium.app|exe: .app

Details

Appium fails to take snapshot with error
2020-03-03 15:49:52.959309-0800 WebDriverAgentRunner-Runner[13001:2373474] Cannot take the snapshot of Window after 15 seconds
2020-03-03 15:49:52.959665-0800 WebDriverAgentRunner-Runner[13001:2373474] Internal error: Error Domain=com.apple.dt.xctest.automation-support.error Code=5 "Error kAXErrorIPCTimeout getting snapshot for element <AXUIElementRef 0x7fdc83546d80> {pid=12189} {uid=[ID:9999 hash:0xe948db3f07000000]}" UserInfo={NSLocalizedDescription=Error kAXErrorIPCTimeout getting snapshot for element <AXUIElementRef 0x7fdc83546d80> {pid=12189} {uid=[ID:9999 hash:0xe948db3f07000000]}}
2020-03-03 15:49:52.961785-0800 WebDriverAgentRunner-Runner[13001:2373474] Skipping source dump for 'Window' because its snapshot cannot be resolved

Link to Appium logs

https://gist.github.com/jineshqa/de4aa49bd17008ed397dc5fb3821079c

Code To Reproduce Issue [ Good To Have ]

Not reproducible with sample app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions