Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OTA-Tech-AI/web-agent-protocol
/ functions
Functions
527 in github.com/OTA-Tech-AI/web-agent-protocol
⨍
Functions
527
◇
Types & classes
98
↳
Endpoints
19
↓ 1 callers
Function
readControlValue
(el)
chrome-extension/js/DOMListener.js:568
↓ 1 callers
Function
recordBtnHandler
()
chrome-extension/js/panel.js:127
↓ 1 callers
Function
record_metadata_to_actions
(events: Iterable[Dict])
browser_use/wap/exact_replay.py:301
↓ 1 callers
Function
register
Register a new handler. * @param {RegExp} hostPattern – tested against location.hostname * @param {Function} initFn – called if the patte
chrome-extension/js/specialEventHandler.js:21
↓ 1 callers
Method
register
Register signal handlers for SIGINT and SIGTERM.
browser_use/utils.py:75
↓ 1 callers
Method
rerun_history
Rerun a saved history of actions with error handling and retry logic. Args: history: The history to replay max_retries: Maximum number o
browser_use/agent/service.py:1183
↓ 1 callers
Method
reset
Reset state after resuming.
browser_use/utils.py:266
↓ 1 callers
Function
run_exact_replay
( exact_replay_list: list[dict], controller: Controller, browser: BrowserContext, action_model
browser_use/wap/exact_replay.py:320
↓ 1 callers
Function
run_html_sanitizer
(html: str, action_type: str)
utils/html_cleaner.py:4
↓ 1 callers
Function
sanitize_html
(html: str, config: dict)
utils/html_cleaner.py:5
↓ 1 callers
Function
saveSettingsFromUI
()
chrome-extension/js/panel.js:53
↓ 1 callers
Function
save_exact_replay_bundle
Write a JSON file shaped like
wap_replay/generate_exact_replay_list.py:60
↓ 1 callers
Method
screenshots
Get all screenshots from history
browser_use/agent/views.py:326
↓ 1 callers
Function
scrollIntoView
(node)
chrome-extension/js/DOMListener.js:98
↓ 1 callers
Method
set_index
Overwrite the index of the action
browser_use/controller/registry/views.py:56
↓ 1 callers
Function
setup_logging
()
browser_use/logging_config.py:61
↓ 1 callers
Function
showInput
(clearValue = false)
chrome-extension/js/panel.js:95
↓ 1 callers
Function
showLabel
(text)
chrome-extension/js/panel.js:103
↓ 1 callers
Method
sigint_handler
SIGINT (Ctrl+C) handler. First Ctrl+C: Cancel current step and pause. Second Ctrl+C: Exit immediately if exit_on_second_int is True.
browser_use/utils.py:141
↓ 1 callers
Method
sigterm_handler
SIGTERM handler. Always exits the program completely.
browser_use/utils.py:179
↓ 1 callers
Method
start_profile
Start a browser profile on Dolphin Anty. Args: profile_id (str, optional): Profile ID to start (defaults to the one set in the environment
browser_use/browser/dolphin_service.py:188
↓ 1 callers
Method
stop_profile
Stop a browser profile on Dolphin Anty. Args: profile_id (str, optional): Profile ID to stop (defaults to the one set in the environment).
browser_use/browser/dolphin_service.py:221
↓ 1 callers
Function
subgoal_llm_generation
(folder, jsonl_name)
wap_replay/generate_smart_replay_list.py:43
↓ 1 callers
Function
subgoal_prompt_generation
(path: str, output_path: str, ultimate_goal: str)
wap_replay/generate_smart_replay_list.py:23
↓ 1 callers
Function
summarize_goal
Generate a function name from the ultimate goal. This is a placeholder - in practice you would call OpenAI API here.
wap_replay/generate_mcp_server.py:41
↓ 1 callers
Function
test_focus_vs_all_elements
()
browser_use/dom/tests/extraction_test.py:90
↓ 1 callers
Function
test_process_html_file
()
browser_use/dom/tests/extraction_test.py:18
↓ 1 callers
Function
test_take_full_page_screenshot
()
browser_use/browser/tests/screenshot_test.py:9
↓ 1 callers
Function
test_viewport
(expansion: int, description: str)
browser_use/dom/tests/extraction_test.py:49
↓ 1 callers
Method
to_dict
(self)
browser_use/browser/views.py:49
↓ 1 callers
Method
total_duration_seconds
Get total duration of all steps in seconds
browser_use/agent/views.py:216
↓ 1 callers
Method
total_input_tokens
Get total tokens used across all steps. Note: These are from the approximate token counting of the message manager. For accurate token counting
browser_use/agent/views.py:224
↓ 1 callers
Function
trimChangedEventNode
(node, max_depth = 3)
chrome-extension/js/elementProcess.js:375
↓ 1 callers
Method
unregister
Unregister signal handlers and restore original handlers if possible.
browser_use/utils.py:100
↓ 1 callers
Function
updateBtn
()
chrome-extension/js/ScrollHelper.js:14
↓ 1 callers
Function
updateTargetFilter
()
chrome-extension/js/EventTable.js:120
↓ 1 callers
Function
updateTypeFilters
()
chrome-extension/js/EventTable.js:87
↓ 1 callers
Function
waitForContentScript
(timeoutMs = 4000)
chrome-extension/js/panel.js:197
↓ 1 callers
Method
wait_for_resume
Wait for user input to resume or exit. This method should be called after handling the first Ctrl+C. It temporarily restores default signal ha
browser_use/utils.py:216
↓ 1 callers
Method
wap_exact_replay_step
Execute one step of the task
browser_use/agent/service.py:666
↓ 1 callers
Method
wap_smart_replay_step
Execute one step of the task
browser_use/agent/service.py:553
↓ 1 callers
Function
wap_subgoal_list_generation
Read *jsonl_path*, extract the `next_goal` from each line's `reply`, and write the list of next goals to *out_path* (as a JSON array). Return
utils/subgoal_generator.py:105
Function
EventTable
(table)
chrome-extension/js/EventTable.js:74
Function
ScrollHelper
(button)
chrome-extension/js/ScrollHelper.js:4
Method
__aenter__
Async context manager entry
browser_use/browser/context.py:267
Method
__aexit__
Async context manager exit
browser_use/browser/context.py:272
Method
__del__
Cleanup when object is destroyed
browser_use/browser/context.py:315
Method
__del__
Async cleanup when object is destroyed
browser_use/browser/browser.py:350
Method
__del__
Clean up resources when the DolphinBrowser instance is deleted.
browser_use/browser/dolphin_service.py:346
Method
__getitem__
(self, key)
browser_use/browser/context.py:58
Method
__getitem__
(self, key)
browser_use/browser/browser.py:52
Method
__init__
Initialize configuration with environment variables.
mcp_client.py:24
Method
__init__
(self, name: str, config: dict[str, Any])
mcp_client.py:69
Method
__init__
( self, name: str, description: str, input_schema: dict[str, Any] )
mcp_client.py:192
Method
__init__
(self, api_key: str)
mcp_client.py:226
Method
__init__
(self, servers: list[Server], llm_client: LLMClient)
mcp_client.py:277
Method
__init__
Initialize the signal handler. Args: loop: The asyncio event loop to use. Defaults to current event loop. pause_callback: Function to call
browser_use/utils.py:34
Method
__init__
(self, status_code, message)
browser_use/exceptions.py:2
Method
__init__
(self, context: PlaywrightBrowserContext, cached_state: BrowserState | None = None)
browser_use/browser/context.py:189
Method
__init__
( self, browser: 'Browser', config: BrowserContextConfig | None = None, state: Optional[BrowserContext
browser_use/browser/context.py:250
Method
__init__
( self, config: BrowserConfig | None = None, )
browser_use/browser/browser.py:125
Method
__init__
Initialize the DolphinBrowser instance. Args: headless (bool): Run browser in headless mode (default: False). keep_open (bool): Keep
browser_use/browser/dolphin_service.py:17
Method
__init__
(self, page: 'Page')
browser_use/dom/service.py:31
Method
__init__
(self)
browser_use/telemetry/service.py:38
Method
__init__
( self, exclude_actions: list[str] = [], output_model: Optional[Type[BaseModel]] = None, )
browser_use/controller/service.py:52
Method
__init__
(self, exclude_actions: list[str] | None = None)
browser_use/controller/registry/service.py:27
Method
__init__
( self, action_description: str, max_actions_per_step: int = 10, override_system_message: Optional[str
browser_use/agent/prompts.py:13
Method
__init__
( self, state: 'BrowserState', result: Optional[List['ActionResult']] = None, include_attributes: list
browser_use/agent/prompts.py:65
Method
__init__
( self, task: str, llm: BaseChatModel, # Optional parameters browser: Browser | None = None, brows
browser_use/agent/service.py:93
Method
__init__
( self, message_manager: MessageManager, llm: BaseChatModel, settings: MemorySettings, )
browser_use/agent/memory/service.py:40
Method
__init__
( self, task: str, system_message: SystemMessage, settings: MessageManagerSettings = MessageManagerSet
browser_use/agent/message_manager/service.py:35
Method
__repr__
(self)
browser_use/dom/views.py:67
Method
__repr__
Representation of the AgentHistoryList object
browser_use/agent/views.py:244
Method
_add_new_page_listener
(self, context: PlaywrightBrowserContext)
browser_use/browser/context.py:392
Function
_handle_click
(evt: Dict, plan: List[Dict])
browser_use/wap/exact_replay.py:114
Function
_handle_go_back_or_forward
(evt: Dict, plan: List[Dict])
browser_use/wap/exact_replay.py:136
Function
_handle_input_change
Map a single `input-change` event to canonical actions. Supports: • <input type=text|search|password|email|number|tel|url|date|datetim
browser_use/wap/exact_replay.py:231
Function
_handle_submit
Convert one submit-form event (new JSON shape) into canonical actions and extend *plan*. Handles these control kinds ---------------
browser_use/wap/exact_replay.py:143
Function
_handle_task_finish
(evt: Dict, plan: List[Dict])
browser_use/wap/exact_replay.py:288
Function
_handle_task_start
(evt: Dict, plan: List[Dict])
browser_use/wap/exact_replay.py:108
Function
_handle_unknown
(evt: Dict, plan: List[Dict])
browser_use/wap/exact_replay.py:295
Method
_text_hash
browser_use/dom/history_tree_processor/service.py:104
Method
action
Decorator for registering custom actions @param description: Describe the LLM what the function does (better description == better function calling
browser_use/controller/service.py:905
Method
action
Decorator for registering actions
browser_use/controller/registry/service.py:48
Method
action_names
Get all action names from history
browser_use/agent/views.py:330
Method
add_model_output
Add model output as AI message
browser_use/agent/message_manager/service.py:149
Method
add_new_task
(self, new_task: str)
browser_use/agent/service.py:378
Method
add_new_task
(self, new_task: str)
browser_use/agent/message_manager/service.py:104
Method
async_wrapper
(*args, **kwargs)
browser_use/controller/registry/service.py:68
Function
click_element
(params: ClickElementAction, browser=None)
browser_use/agent/tests.py:41
Method
click_element_by_index
(params: ClickElementAction, browser: BrowserContext)
browser_use/controller/service.py:142
Method
click_element_by_selector
(params: ClickElementBySelectorAction, browser: BrowserContext)
browser_use/controller/service.py:179
Method
click_element_by_text
(params: ClickElementByTextAction, browser: BrowserContext)
browser_use/controller/service.py:221
Method
click_element_by_xpath
(params: ClickElementByXpathAction, browser: BrowserContext)
browser_use/controller/service.py:200
Method
close
Close the browser connection and clean up resources. Args: force (bool): If True, forcefully stop the associated profile (default: False).
browser_use/browser/dolphin_service.py:287
Method
close_current_tab
Close the current tab
browser_use/browser/context.py:786
Method
close_tab
(params: CloseTabAction, browser: BrowserContext)
browser_use/controller/service.py:320
Method
collect_text
(node: DOMBaseNode, current_depth: int)
browser_use/dom/views.py:106
Method
compare_history_element_and_dom_element
(dom_history_element: DOMHistoryElement, dom_element: DOMElementNode)
browser_use/dom/history_tree_processor/service.py:53
Method
create_new_tab
Create a new tab and optionally navigate to a given URL. Args: url (str, optional): URL to navigate to after creating the tab. Defaults to
browser_use/browser/dolphin_service.py:52
← previous
next →
301–400 of 527, ranked by callers