get_element_attribute
Extract the value of a specified attribute from a web element using a CSS selector or XPath, enabling automated data retrieval and testing.
Instructions
获取元素属性值
Args:
selector: CSS选择器或XPath
attribute: 属性名
timeout: 超时时间(毫秒)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| attribute | Yes | ||
| timeout | No |