[appium] try out some settings when you cannot get expected elements

In some cases, no expected elements are in views via Appium/UIA2 driver. It has some conditions, so it is worth trying out the below settings apis.

  • enableMultiWindows
  • ignoreUnimportantViews
  • allowInvisibleElements

These attributes allow you to find elements via Appium/UIA2 driver. They may not be able to find via uiautomator framework via Android as general way, so you need to interact with them via xpath finding element/s strategy.

https://github.com/appium/appium-uiautomator2-driver

2 Comments

  1. Jarda's avatar Jarda says:

    Hi, I would like to know how to use this api settings in Appium, Typescript when I use webdriverIO – I cannot find any information how should I use it :/
    allowInvisibleElements
    Thanks for help

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.