mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
- Retrieve tag name and isContentEditable property from element_handle. - Check for readonly and disabled attributes before inputting text. - Clear element's textContent regardless of element type. - Use element_handle.type() with delay for contenteditable or input elements if editable. - Fallback to element_handle.fill() for non-editable cases.