browser_select_all
Browser Select All
Select all text content within an input element. Equivalent to Ctrl+A within the field. Useful before typing to replace content or for copying the entire field value.
Usage Example
123456789101112
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.select_all(
context_id=context_id,
selector="#element-id"
)
Parameters
Required
context_idstringrequiredThe unique identifier of the browser context (e.g., 'ctx_000001')
selectorstringrequiredCSS selector or natural language description of the input element to select all text in
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}