How to ignore less important views in Appium to increase the test speed? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to ignore less important views in ...

How to ignore less important views in Appium to increase the test speed?


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

Leave a Reply

Your email address will not be published. Required fields are marked *