This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

I’ve searched a way to take screenshot from specific element on mobile automation, using appium is possible?

regards,

  • created

    Nov '17
  • last reply

    Oct '18
  • 1

    reply

  • 460

    views

  • 2

    users

  • 2

    likes

11 months later

you can get screenshot of element directly using: Ruby:

element = driver.find_element(:predicate, “type == ‘XCUIElementTypeSlider’”)
screenshot = driver.element_screenshot_as(element ,:base64)