How to clear device logs on every start of the test to save more space in Appium? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to clear device logs on every ...

How to clear device logs on every start of the test to save more space in Appium?


capabilities.setCapabilities("clearDeviceLogsOnStart"=true)
Truncate the device logs at the beginning of a session, so calls to getLogs will return log lines starting with the beginning of the session. This is very helpful if you have less storage capacity or you are tracking any issue. Values = true/false

Leave a Reply

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