langchain_community.tools.playwright.get_elements
.GetElementsToolInput¶
- class langchain_community.tools.playwright.get_elements.GetElementsToolInput[source]¶
Bases:
BaseModel
Input for GetElementsTool.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param attributes: List[str] [Optional]¶
Set of attributes to retrieve for each element
- param selector: str [Required]¶
CSS selector, such as ‘*’, ‘div’, ‘p’, ‘a’, #id, .classname