appium-uiautomator2-driver
Version:
UiAutomator2 integration for Appium
25 lines • 921 B
JavaScript
export const ATTRIBUTE_SCHEMA = {
attributes: {
checkable: { type: 'boolean' },
checked: { type: 'boolean' },
clickable: { type: 'boolean' },
enabled: { type: 'boolean' },
focusable: { type: 'boolean' },
focused: { type: 'boolean' },
'long-clickable': { type: 'boolean' },
scrollable: { type: 'boolean' },
selected: { type: 'boolean' },
index: { type: 'numeric', aliases: ['nth-child'] },
instance: { type: 'numeric' },
description: {
type: 'string',
aliases: ['content-description', 'content-desc', 'desc', 'accessibility-id'],
},
'resource-id': { type: 'string', aliases: ['id'] },
text: { type: 'string' },
'class-name': { type: 'string' },
'package-name': { type: 'string' },
},
booleanFormat: 'true-false',
};
//# sourceMappingURL=schema.js.map