How to get the page source when a find operation fails in Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to get the page source when ...

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 *