How to ignore less important views in Appium to increase the test speed?
Posted on August 6, 2019
By Sumeet Panjabi
capabilities.setCapability("ignoreUnimportantViews",true);
Calls the setCompressedLayoutHierarchy() uiautomator function. This capability can speed up test execution, since Accessibility commands will run faster ignoring some elements. The ignored elements will not be findable, which is why this capability has also been implemented as a toggle-able setting, as well as a capability.
Value = true/false