Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blanche-official/blanche
/ functions
Functions
564 in github.com/blanche-official/blanche
⨍
Functions
564
◇
Types & classes
103
↳
Endpoints
7
Method
back
(self)
blanche/browser/driver.py:100
Function
browser_snapshot
()
tests/browser/test_context.py:56
Method
bytes
(self)
blanche/data/space.py:22
Method
check_memory_usage
Monitor memory usage of browser contexts
blanche/browser/pool.py:136
Function
clean_html_for_llm
(html_content: str)
blanche/pipe/preprocessing/html/simple.py:4
Method
clean_url
(self)
blanche/browser/observation.py:22
Method
clean_url
(self)
blanche/browser/snapshot.py:25
Method
click
(self)
tests/mock/mock_browser.py:26
Function
client
(api_key: str, server_url: str)
tests/sdk/test_client.py:33
Method
close
(self)
blanche/common/resource.py:7
Method
completion
( self, prompt_id: str, variables: dict[str, Any] | None = None, )
blanche/llms/service.py:30
Function
config
()
tests/pipe/preprocessing/a11y/test_pruning.py:14
Method
context
(self)
blanche/env.py:67
Function
context_to_actions
(context: Context)
tests/pipe/test_main.py:47
Function
convert_only_text_subtree_to_markdown
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:105
Function
decorator
(func: Callable[..., ModelResponse])
blanche/llms/logging.py:17
Method
description
(self)
blanche/actions/base.py:15
Method
display_screenshot
(self)
blanche/browser/observation.py:41
Function
env_generator
Create a BlancheEnv instance with mock browser and LLM
tests/test_env.py:38
Method
evaluate_task
(self, task: WebVoyagerTask, output: AgentOutput)
eval/webvoyager/eval.py:48
Method
evaluate_task
(self, task: WebVoyagerTask, output: AgentOutput)
eval/webvoyager/eval.py:81
Method
evaluate_task
Evaluate a WebVoyager task and return its success status. Args: process_dir: Directory containing the task data max_a
eval/webvoyager/eval.py:158
Function
exclude_all_except_B2
(node: BlancheNode)
tests/browser/test_node_type.py:244
Function
exclude_all_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:215
Function
exclude_some_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:231
Method
execute_action
Mock action execution
tests/mock/mock_browser.py:150
Method
fill
(self, value: str)
tests/mock/mock_browser.py:29
Method
find_all_paths_by_role_and_name
(self, role: str, name: str, type: str = "processed")
blanche/pipe/preprocessing/a11y/tree.py:103
Method
find_node_by_id
(self, id: str, type: str = "processed")
blanche/pipe/preprocessing/a11y/tree.py:114
Method
first
(self)
tests/mock/mock_browser.py:40
Function
flatten_group_with_only_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:91
Function
fold_button_in_button
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:174
Method
forward
(snapshot: BrowserSnapshot)
blanche/env.py:31
Method
forward
(self)
blanche/browser/driver.py:105
Method
forward
(self, context: Context, space: ActionSpace)
blanche/pipe/document_category.py:16
Method
forward
( inodes_ids: list[str], actions: list[PossibleAction], # Just for logging purposes
blanche/pipe/validation.py:9
Method
forward
(self, context: Context, previous_action_list: list[Action] | None = None)
blanche/pipe/listing.py:23
Method
forward
( self, context: Context, previous_action_list: list[Action] | None = None, )
blanche/pipe/listing.py:96
Method
forward
(self, context: Context, previous_action_list: list[Action] | None = None)
blanche/pipe/listing.py:168
Method
forward
(context: Context, actions: list[Action])
blanche/pipe/filtering.py:11
Method
forward
(snapshot: BrowserSnapshot)
blanche/pipe/preprocessing/a11y/pipe.py:13
Method
forward_async
( self, context: Context, previous_action_list: list[Action] | None = None, mi
blanche/pipe/main.py:28
Method
forward_incremental
This method is used to get the next action list based on the previous action list. /!\\ This was designed to only be used in the `fo
blanche/pipe/listing.py:33
Method
forward_incremental
( self, context: Context, previous_action_list: list[Action], )
blanche/pipe/listing.py:196
Method
from_a11y_node
(node: A11yNode, path: str | None = None)
blanche/browser/node_type.py:483
Method
get_attr
(key: str)
blanche/browser/node_type.py:503
Method
get_done_answer
(self, text: str)
blanche/common/parser.py:121
Function
get_images_as_base64
Returns images as base64 strings with metadata
blanche/utils/image.py:97
Function
get_images_as_files
(image_urls: list[str])
blanche/utils/image.py:92
Method
get_prompt_variables
( self, context: Context, previous_action_list: list[Action] | None = None )
blanche/pipe/listing.py:233
Function
get_webvoyager_urls
()
tests/integration/test_webvoyager_resolution.py:7
Method
god
(self, url: str | None = None)
blanche/env.py:229
Method
goto
( self, url: str | None = None, wait_for: Literal["domcontentloaded", "load", "network
blanche/browser/driver.py:149
Function
group_a11y_node
( node: A11yNode, group_types: list[NodeCategory] | None = None, prune_non_interaction: bool = Tru
blanche/pipe/preprocessing/a11y/grouping.py:367
Function
group_following_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:385
Function
group_interaction_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:175
Function
group_list_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:260
Function
group_table_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:255
Function
group_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:65
Function
headless
()
tests/actions/test_execution.py:11
Method
inner
(node: BlancheNode)
blanche/browser/node_type.py:611
Method
interaction_nodes
(self)
blanche/browser/node_type.py:603
Method
is_checked
(self)
tests/mock/mock_browser.py:60
Method
is_done
(self, text: str)
blanche/common/parser.py:34
Function
keep_all_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:223
Function
keep_some_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:255
Function
llm_engine
()
tests/llms/test_engine.py:10
Function
llm_service
()
tests/integration/test_special_actions.py:9
Method
locate
(self, selector: str)
tests/mock/mock_browser.py:67
Method
markdown
( self, status: Literal[ActionStatus, "all"] = "valid", include_special: bool = True,
blanche/actions/space.py:143
Function
mock_context
()
tests/pipe/test_listing.py:47
Function
mock_llm_response
()
tests/test_env.py:13
Function
mock_llm_service
(mock_llm_response: str)
tests/test_env.py:21
Function
mock_response
()
tests/sdk/test_client.py:41
Function
nested_graph
()
tests/browser/test_node_type.py:181
Function
nested_graph
()
tests/browser/test_context.py:10
Function
node
()
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:12
Method
obs
(self)
blanche/env.py:87
Method
observe
(self, **data: Unpack[ObserveRequestDict])
blanche/sdk/client.py:145
Method
observe
(self, text: str)
blanche/common/parser.py:42
Method
observe
(self, text: str)
blanche/common/parser.py:127
Method
only_failed_actions
(node: BlancheNode)
blanche/browser/context.py:67
Method
only_roles
(node: BlancheNode)
blanche/browser/node_type.py:629
Method
page
(self)
blanche/browser/driver.py:62
Method
page
(self)
blanche/browser/driver.py:80
Method
page
(self)
tests/mock/mock_browser.py:162
Function
phantombuster_login
()
tests/actions/test_execution.py:29
Function
pool
Helper fixture that returns the BlancheEnv instance directly
tests/browser/test_pool.py:24
Function
pool_generator
Create a fresh pool for each test
tests/browser/test_pool.py:13
Method
previous_actions
(self)
blanche/env.py:73
Function
prompt_contents
Fixture to load both prompt files
tests/llms/test_action_listing_prompt_discrepancies.py:52
Function
prompt_contents
Fixture to load both prompt files
tests/llms/test_extract_data_prompt_discrepancies.py:13
Function
prunable_group_single_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:97
Function
prunable_paragraph_single_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:84
Function
prunable_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:11
Function
prunable_with_linebreak_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:39
Function
prune_duplicated_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:361
Function
prune_non_interaction_node
(node: A11yNode, append_text_node: bool = False)
blanche/pipe/preprocessing/a11y/grouping.py:318
Function
prune_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:110
Method
pruning_roles
(self)
blanche/pipe/preprocessing/a11y/pruning.py:77
← previous
next →
301–400 of 564, ranked by callers