getPerformanceDataTypes
Returns the information types of the system state which is supported to read as part of performance data (e.g. cpu, memory, network traffic, battery).
Usage
await browser.getPerformanceDataTypes()
Example
getPerformanceDataTypes.js
it('should get the supported performance data types', async () => {
const types = await browser.getPerformanceDataTypes()
console.log('Supported types:', types)
})
Returns
- <
Promise<string[]>>returns: A list of supported performance data type names
Support
Supported platforms: Android
note
Refer to the official Appium driver documentation to see which driver versions support this command.