Roles

interface Roles

提供了一组预定义的辅助功能角色(Role)。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getButton(): Role

元素是一个按钮控件。

Link copied to clipboard
abstract fun getCarousel(): Role

元素是一个轮播图。

Link copied to clipboard
abstract fun getCheckbox(): Role

元素是一个复选框,代表两种状态(选中/未选中)。

Link copied to clipboard
abstract fun getDropdownList(): Role

元素与下拉菜单相关联。

Link copied to clipboard
abstract fun getImage(): Role

元素是一张图片。

Link copied to clipboard
abstract fun getRadioButton(): Role

元素是一个单选按钮,代表两种状态(选中/未选中)。

Link copied to clipboard
abstract fun getSwitch(): Role

元素是一个开关,提供开/关两种状态。

Link copied to clipboard
abstract fun getTab(): Role

元素是一个标签页,代表单个内容页面。

Link copied to clipboard
abstract fun getValuePicker(): Role

元素是一个值选择器(例如日期选择器)。