category export function removeStartingTilde ( key ) { if ( key . startsWith ( '~' ) ) { return key . substring ( 1 ) ; } else { return key ; } } param { WebdriverIO . Element } element return { string } category export function getAccessibilityIdOfElement ( element ) { if ( browser . isAndroid ) { return element . getAttribute ( 'content-desc' ) ; } else { return element . getAttribute ( 'label' ) ; } }