Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/Webwright
/ functions
Functions
355 in github.com/microsoft/Webwright
⨍
Functions
355
◇
Types & classes
23
↳
Endpoints
3
↓ 1 callers
Function
_build_prompt
(question: str)
src/webwright/tools/image_qa.py:14
↓ 1 callers
Method
_build_text_payload
(self, messages: list[dict[str, Any]])
src/webwright/models/base.py:271
↓ 1 callers
Method
_capture_observation
(self, *, success: bool, exception_text: str)
src/webwright/environments/local_browser.py:463
↓ 1 callers
Method
_capture_observation
( self, *, command: str, cwd: Path, output: str, returncode: i
src/webwright/environments/local_workspace.py:230
↓ 1 callers
Function
_chromium_executable
Locate the Playwright-bundled Chromium executable.
src/webwright/tools/persistent_local_browser.py:54
↓ 1 callers
Function
_clean_url
(u: str)
assets/task_showcase/app.py:64
↓ 1 callers
Method
_close_async
(self)
src/webwright/environments/local_browser.py:533
↓ 1 callers
Method
_compact_history
Summarize the running transcript via an LLM call and reset messages to [system, summary]. Preserves the original system message. Replaces eve
src/webwright/agents/default.py:303
↓ 1 callers
Method
_complete_text_async
( self, messages: list[dict[str, Any]], *, max_output_tokens: int | None = Non
src/webwright/models/base.py:531
↓ 1 callers
Method
_debug_dir
(self)
src/webwright/agents/default.py:93
↓ 1 callers
Function
_discover_latest_run_screenshots
Find the highest-numbered ``final_runs/run_<id>/screenshots`` dir and its images. Returns ``(run_dir_or_None, sorted_image_paths)``. Empty list i
src/webwright/tools/self_reflection.py:107
↓ 1 callers
Method
_ensure_local_cdp_browser
(self)
src/webwright/environments/local_browser.py:262
↓ 1 callers
Function
_ensure_local_cdp_page_target
(cdp_url: str, *, timeout_seconds: float = 1.0)
src/webwright/environments/local_browser.py:93
↓ 1 callers
Method
_ensure_loop
(self)
src/webwright/environments/local_browser.py:253
↓ 1 callers
Method
_execute_async
(self, action: dict[str, Any])
src/webwright/environments/local_browser.py:391
↓ 1 callers
Function
_extract_anthropic_text
(payload: dict[str, Any])
src/webwright/models/anthropic_model.py:89
↓ 1 callers
Function
_extract_chat_completions_text
(payload: dict[str, Any])
src/webwright/models/openrouter_model.py:85
↓ 1 callers
Function
_extract_response_text
(payload: dict[str, Any])
src/webwright/models/openai_model.py:64
↓ 1 callers
Function
_final_execution_sort_key
(name: str)
src/webwright/tools/self_reflection.py:83
↓ 1 callers
Function
_find_chromium_executable
(explicit_path: str = "")
src/webwright/environments/local_browser.py:122
↓ 1 callers
Method
_format_repair_message
(self, *, raw_text: str, error: str)
src/webwright/models/base.py:417
↓ 1 callers
Function
_high_detail_image_part_from_path
(image_path: Path)
src/webwright/tools/image_qa.py:23
↓ 1 callers
Method
_history_path
(self)
src/webwright/environments/local_workspace.py:109
↓ 1 callers
Function
_image_source_from_url
(image_url: str)
src/webwright/models/anthropic_model.py:40
↓ 1 callers
Function
_is_rate_limit_error
(exc: BaseException | None)
src/webwright/models/base.py:56
↓ 1 callers
Function
_is_transient_http_error
True for retryable transient HTTP failures (timeouts, 5xx, conn resets, ...). Applies to any HTTP backend, not just gateway/proxy setups.
src/webwright/models/base.py:72
↓ 1 callers
Function
_judge_one_image
( *, image_path: Path, image_judge_system_prompt: str, image_judge_user_prompt: str, model
src/webwright/tools/self_reflection.py:298
↓ 1 callers
Function
_load_action_history_log
(artifact_dir: Path | None)
src/webwright/tools/self_reflection.py:177
↓ 1 callers
Function
_load_config
(config_arg: str)
src/webwright/tools/self_reflection.py:473
↓ 1 callers
Method
_load_credential_env
(self, path: Path | None)
src/webwright/environments/local_workspace.py:55
↓ 1 callers
Function
_load_structured_config
(path: Path)
src/webwright/tools/_model_config.py:22
↓ 1 callers
Function
_local_cdp_page_targets
(cdp_url: str, *, timeout_seconds: float = 0.5)
src/webwright/environments/local_browser.py:73
↓ 1 callers
Function
_local_cdp_port
(cdp_url: str)
src/webwright/environments/local_browser.py:51
↓ 1 callers
Function
_macos_open_app_name
(executable: str)
src/webwright/environments/local_browser.py:145
↓ 1 callers
Function
_markdown_code_fence_language
(*, bash_command_text: str, python_code_text: str)
src/webwright/agents/default.py:75
↓ 1 callers
Function
_metrics_input_from_anthropic
( system_prompt: str | None, anthropic_messages: list[dict[str, Any]] )
src/webwright/models/anthropic_model.py:113
↓ 1 callers
Function
_metrics_input_from_chat_messages
(chat_messages: list[dict[str, Any]])
src/webwright/models/openrouter_model.py:66
↓ 1 callers
Function
_model_endpoint
(model_client: Any)
src/webwright/tools/self_reflection.py:239
↓ 1 callers
Function
_nest_key_value
(key: str, value: Any)
src/webwright/config/__init__.py:15
↓ 1 callers
Function
_normalize_image_paths
( *, image_path: Path | None = None, image_paths: list[Path] | tuple[Path, ...] | None = None, )
src/webwright/tools/image_qa.py:44
↓ 1 callers
Function
_observation_for_markdown
(observation: dict[str, Any], *, model_usage: dict[str, Any] | None = None)
src/webwright/agents/default.py:59
↓ 1 callers
Function
_parse_final_verdict
(response: str)
src/webwright/tools/self_reflection.py:283
↓ 1 callers
Function
_parse_image_judge_response
(response: str)
src/webwright/tools/self_reflection.py:252
↓ 1 callers
Function
_parse_json_response
(raw_text: str)
src/webwright/tools/image_qa.py:57
↓ 1 callers
Method
_persist_step_code
(self, python_code: str)
src/webwright/environments/local_browser.py:422
↓ 1 callers
Method
_persist_step_command
(self, command: str)
src/webwright/environments/local_workspace.py:133
↓ 1 callers
Method
_plan_md_message
(self)
src/webwright/agents/default.py:190
↓ 1 callers
Method
_prepare_async
(self)
src/webwright/environments/local_browser.py:310
↓ 1 callers
Method
_prune_old_observation_aria_snapshots
(self)
src/webwright/agents/default.py:275
↓ 1 callers
Method
_query_async
(self, messages: list[dict[str, Any]])
src/webwright/models/base.py:463
↓ 1 callers
Method
_rate_limit_backoff
(self, attempt: int, exc: BaseException)
src/webwright/models/base.py:283
↓ 1 callers
Method
_recent_screenshots
(self)
src/webwright/environments/local_workspace.py:125
↓ 1 callers
Method
_recent_workspace_files
(self)
src/webwright/environments/local_workspace.py:118
↓ 1 callers
Function
_render_final_verdict_user_prompt
( template: str, *, image_reasonings: str, action_history_log: str, )
src/webwright/tools/self_reflection.py:186
↓ 1 callers
Method
_request_headers
(self)
src/webwright/models/base.py:262
↓ 1 callers
Function
_resolve_artifact_dir
( *, images: list[Path], discovered_run_dir: Path | None, output_path: str, workspace_dir:
src/webwright/tools/self_reflection.py:140
↓ 1 callers
Method
_resolve_cwd
(self, cwd: str = "")
src/webwright/environments/local_workspace.py:80
↓ 1 callers
Function
_resolve_image_path
(image_path: str, workspace_dir: str = "")
src/webwright/tools/self_reflection.py:72
↓ 1 callers
Function
_resolve_image_path
(image_path: str, workspace_dir: str = "")
src/webwright/tools/image_qa.py:33
↓ 1 callers
Function
_resolve_local_cdp_url
(configured_url: str, *, explicit: bool)
src/webwright/environments/local_browser.py:104
↓ 1 callers
Function
_resolve_prompt
(cfg: dict[str, Any], key: str, *, required: bool)
src/webwright/tools/self_reflection.py:458
↓ 1 callers
Function
_resolve_user_data_dir
(configured_dir: Path, *, explicit: bool)
src/webwright/environments/local_browser.py:115
↓ 1 callers
Function
_retry_after_seconds
(exc: BaseException)
src/webwright/models/anthropic_model.py:27
↓ 1 callers
Function
_run_id_sort_key
(name: str)
src/webwright/tools/self_reflection.py:91
↓ 1 callers
Method
_run_python_code
(self, python_code: str)
src/webwright/environments/local_browser.py:432
↓ 1 callers
Function
_sanitize_message_for_disk
(message: dict[str, Any])
src/webwright/agents/default.py:49
↓ 1 callers
Method
_self_reflection_gate_error
Return an error string if done=true should be blocked pending judge success.
src/webwright/agents/default.py:202
↓ 1 callers
Function
_serialize_anthropic_content_part
(part: dict[str, Any])
src/webwright/models/anthropic_model.py:48
↓ 1 callers
Function
_serialize_anthropic_messages
( messages: list[dict[str, Any]], )
src/webwright/models/anthropic_model.py:54
↓ 1 callers
Function
_serialize_chat_content_part
(part: dict[str, Any])
src/webwright/models/openrouter_model.py:21
↓ 1 callers
Function
_serialize_response_content_part
(part: dict[str, Any], *, role: str)
src/webwright/models/openai_model.py:25
↓ 1 callers
Function
_sorted_image_paths
(image_dir: Path)
src/webwright/tools/self_reflection.py:98
↓ 1 callers
Function
_terminate_pid
(pid: int, kill_timeout: float)
src/webwright/tools/persistent_local_browser.py:183
↓ 1 callers
Function
_timestamped_output_dir
(base_dir: str | Path | None, task_id: str | None)
src/webwright/run/cli.py:24
↓ 1 callers
Method
_tool_gate_error
Require final_runs/run_<latest>/self_reflect_result.json with predicted_label == 1.
src/webwright/agents/default.py:208
↓ 1 callers
Method
_transient_backoff
(self, attempt: int, exc: BaseException)
src/webwright/models/base.py:286
↓ 1 callers
Function
_usage_from_anthropic_payload
(payload: dict[str, Any])
src/webwright/models/anthropic_model.py:99
↓ 1 callers
Function
_usage_metrics_from_chat_completions
(payload: dict[str, Any])
src/webwright/models/openrouter_model.py:107
↓ 1 callers
Function
_usage_metrics_from_response_payload
(payload: dict[str, Any])
src/webwright/models/openai_model.py:85
↓ 1 callers
Function
_validate_bash_command
(command: str)
src/webwright/models/base.py:123
↓ 1 callers
Function
_wait_for_devtools_url
Read Chromium's stderr until the DevTools ws:// URL appears.
src/webwright/tools/persistent_local_browser.py:81
↓ 1 callers
Method
_wait_for_observation_ready
(self)
src/webwright/environments/local_browser.py:452
↓ 1 callers
Method
_write_step_log
(self, output: str)
src/webwright/environments/local_workspace.py:145
↓ 1 callers
Function
applyTrajectoryCompanion
(trace, companion)
assets/compare_trajectory/app.js:164
↓ 1 callers
Function
build_parser
()
src/webwright/tools/self_reflection.py:479
↓ 1 callers
Function
build_parser
()
src/webwright/tools/image_qa.py:100
↓ 1 callers
Function
build_steps
(task_dir: Path)
assets/task_showcase/app.py:106
↓ 1 callers
Function
check_chromium
()
src/webwright/run/doctor.py:30
↓ 1 callers
Function
check_playwright
()
src/webwright/run/doctor.py:23
↓ 1 callers
Function
check_python
()
src/webwright/run/doctor.py:14
↓ 1 callers
Function
detectFormat
(text)
assets/compare_trajectory/app.js:919
↓ 1 callers
Method
execute
(self, action: dict[str, Any], cwd: str = "")
src/webwright/environments/local_browser.py:387
↓ 1 callers
Method
execute_actions
(self, message: dict[str, Any])
src/webwright/agents/default.py:400
↓ 1 callers
Function
extractBoldSummary
(text)
assets/compare_trajectory/app.js:505
↓ 1 callers
Function
extractPatchTargets
(patchText)
assets/compare_trajectory/app.js:510
↓ 1 callers
Function
extractPythonBlocks
(text)
assets/compare_trajectory/app.js:614
↓ 1 callers
Function
extractPythonFromPatch
(text)
assets/compare_trajectory/app.js:567
↓ 1 callers
Function
extractPythonHeredocs
(text)
assets/compare_trajectory/app.js:553
↓ 1 callers
Function
extractSessionMetadata
(text)
assets/compare_trajectory/app.js:535
↓ 1 callers
Function
extractTrajectoryUsage
(text, fileName)
assets/compare_trajectory/app.js:140
← previous
next →
101–200 of 355, ranked by callers