How to get the page source when a find operation fails in Appium?

capabilities.setCapabilities("printPageSourceOnFindFailure",true);

When a find operation fails, print the current page source. Useful for debugging and diagnosing test failures

Value = true/false

Leave a Reply

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