browser_get_attribute
Extract the value of a specified attribute from a web element using Selenium WebDriver. Define element locator, attribute name, and optional timeout for precise automation tasks.
Instructions
Gets the value of an attribute from an element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attribute | Yes | Name of the attribute to get | |
by | Yes | Locator strategy to find element | |
timeout | No | Maximum time to wait for element in milliseconds | |
value | Yes | Value for the locator strategy |