MCPcopy Create free account

hub / github.com/blanche-official/blanche / functions

Functions564 in github.com/blanche-official/blanche

Methodback
(self)
blanche/browser/driver.py:100
Functionbrowser_snapshot
()
tests/browser/test_context.py:56
Methodbytes
(self)
blanche/data/space.py:22
Methodcheck_memory_usage
Monitor memory usage of browser contexts
blanche/browser/pool.py:136
Functionclean_html_for_llm
(html_content: str)
blanche/pipe/preprocessing/html/simple.py:4
Methodclean_url
(self)
blanche/browser/observation.py:22
Methodclean_url
(self)
blanche/browser/snapshot.py:25
Methodclick
(self)
tests/mock/mock_browser.py:26
Functionclient
(api_key: str, server_url: str)
tests/sdk/test_client.py:33
Methodclose
(self)
blanche/common/resource.py:7
Methodcompletion
( self, prompt_id: str, variables: dict[str, Any] | None = None, )
blanche/llms/service.py:30
Functionconfig
()
tests/pipe/preprocessing/a11y/test_pruning.py:14
Methodcontext
(self)
blanche/env.py:67
Functioncontext_to_actions
(context: Context)
tests/pipe/test_main.py:47
Functionconvert_only_text_subtree_to_markdown
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:105
Functiondecorator
(func: Callable[..., ModelResponse])
blanche/llms/logging.py:17
Methoddescription
(self)
blanche/actions/base.py:15
Methoddisplay_screenshot
(self)
blanche/browser/observation.py:41
Functionenv_generator
Create a BlancheEnv instance with mock browser and LLM
tests/test_env.py:38
Methodevaluate_task
(self, task: WebVoyagerTask, output: AgentOutput)
eval/webvoyager/eval.py:48
Methodevaluate_task
(self, task: WebVoyagerTask, output: AgentOutput)
eval/webvoyager/eval.py:81
Methodevaluate_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
Functionexclude_all_except_B2
(node: BlancheNode)
tests/browser/test_node_type.py:244
Functionexclude_all_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:215
Functionexclude_some_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:231
Methodexecute_action
Mock action execution
tests/mock/mock_browser.py:150
Methodfill
(self, value: str)
tests/mock/mock_browser.py:29
Methodfind_all_paths_by_role_and_name
(self, role: str, name: str, type: str = "processed")
blanche/pipe/preprocessing/a11y/tree.py:103
Methodfind_node_by_id
(self, id: str, type: str = "processed")
blanche/pipe/preprocessing/a11y/tree.py:114
Methodfirst
(self)
tests/mock/mock_browser.py:40
Functionflatten_group_with_only_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:91
Functionfold_button_in_button
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:174
Methodforward
(snapshot: BrowserSnapshot)
blanche/env.py:31
Methodforward
(self)
blanche/browser/driver.py:105
Methodforward
(self, context: Context, space: ActionSpace)
blanche/pipe/document_category.py:16
Methodforward
( inodes_ids: list[str], actions: list[PossibleAction], # Just for logging purposes
blanche/pipe/validation.py:9
Methodforward
(self, context: Context, previous_action_list: list[Action] | None = None)
blanche/pipe/listing.py:23
Methodforward
( self, context: Context, previous_action_list: list[Action] | None = None, )
blanche/pipe/listing.py:96
Methodforward
(self, context: Context, previous_action_list: list[Action] | None = None)
blanche/pipe/listing.py:168
Methodforward
(context: Context, actions: list[Action])
blanche/pipe/filtering.py:11
Methodforward
(snapshot: BrowserSnapshot)
blanche/pipe/preprocessing/a11y/pipe.py:13
Methodforward_async
( self, context: Context, previous_action_list: list[Action] | None = None, mi
blanche/pipe/main.py:28
Methodforward_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
Methodforward_incremental
( self, context: Context, previous_action_list: list[Action], )
blanche/pipe/listing.py:196
Methodfrom_a11y_node
(node: A11yNode, path: str | None = None)
blanche/browser/node_type.py:483
Methodget_attr
(key: str)
blanche/browser/node_type.py:503
Methodget_done_answer
(self, text: str)
blanche/common/parser.py:121
Functionget_images_as_base64
Returns images as base64 strings with metadata
blanche/utils/image.py:97
Functionget_images_as_files
(image_urls: list[str])
blanche/utils/image.py:92
Methodget_prompt_variables
( self, context: Context, previous_action_list: list[Action] | None = None )
blanche/pipe/listing.py:233
Functionget_webvoyager_urls
()
tests/integration/test_webvoyager_resolution.py:7
Methodgod
(self, url: str | None = None)
blanche/env.py:229
Methodgoto
( self, url: str | None = None, wait_for: Literal["domcontentloaded", "load", "network
blanche/browser/driver.py:149
Functiongroup_a11y_node
( node: A11yNode, group_types: list[NodeCategory] | None = None, prune_non_interaction: bool = Tru
blanche/pipe/preprocessing/a11y/grouping.py:367
Functiongroup_following_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:385
Functiongroup_interaction_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:175
Functiongroup_list_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:260
Functiongroup_table_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:255
Functiongroup_text_children
(node: A11yNode)
blanche/pipe/preprocessing/a11y/grouping.py:65
Functionheadless
()
tests/actions/test_execution.py:11
Methodinner
(node: BlancheNode)
blanche/browser/node_type.py:611
Methodinteraction_nodes
(self)
blanche/browser/node_type.py:603
Methodis_checked
(self)
tests/mock/mock_browser.py:60
Methodis_done
(self, text: str)
blanche/common/parser.py:34
Functionkeep_all_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:223
Functionkeep_some_nodes
(node: BlancheNode)
tests/browser/test_node_type.py:255
Functionllm_engine
()
tests/llms/test_engine.py:10
Functionllm_service
()
tests/integration/test_special_actions.py:9
Methodlocate
(self, selector: str)
tests/mock/mock_browser.py:67
Methodmarkdown
( self, status: Literal[ActionStatus, "all"] = "valid", include_special: bool = True,
blanche/actions/space.py:143
Functionmock_context
()
tests/pipe/test_listing.py:47
Functionmock_llm_response
()
tests/test_env.py:13
Functionmock_llm_service
(mock_llm_response: str)
tests/test_env.py:21
Functionmock_response
()
tests/sdk/test_client.py:41
Functionnested_graph
()
tests/browser/test_node_type.py:181
Functionnested_graph
()
tests/browser/test_context.py:10
Functionnode
()
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:12
Methodobs
(self)
blanche/env.py:87
Methodobserve
(self, **data: Unpack[ObserveRequestDict])
blanche/sdk/client.py:145
Methodobserve
(self, text: str)
blanche/common/parser.py:42
Methodobserve
(self, text: str)
blanche/common/parser.py:127
Methodonly_failed_actions
(node: BlancheNode)
blanche/browser/context.py:67
Methodonly_roles
(node: BlancheNode)
blanche/browser/node_type.py:629
Methodpage
(self)
blanche/browser/driver.py:62
Methodpage
(self)
blanche/browser/driver.py:80
Methodpage
(self)
tests/mock/mock_browser.py:162
Functionphantombuster_login
()
tests/actions/test_execution.py:29
Functionpool
Helper fixture that returns the BlancheEnv instance directly
tests/browser/test_pool.py:24
Functionpool_generator
Create a fresh pool for each test
tests/browser/test_pool.py:13
Methodprevious_actions
(self)
blanche/env.py:73
Functionprompt_contents
Fixture to load both prompt files
tests/llms/test_action_listing_prompt_discrepancies.py:52
Functionprompt_contents
Fixture to load both prompt files
tests/llms/test_extract_data_prompt_discrepancies.py:13
Functionprunable_group_single_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:97
Functionprunable_paragraph_single_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:84
Functionprunable_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:11
Functionprunable_with_linebreak_text_node
()
tests/pipe/preprocessing/a11y/test_text.py:39
Functionprune_duplicated_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:361
Functionprune_non_interaction_node
(node: A11yNode, append_text_node: bool = False)
blanche/pipe/preprocessing/a11y/grouping.py:318
Functionprune_text_nodes
(node: A11yNode)
blanche/pipe/preprocessing/a11y/text.py:110
Methodpruning_roles
(self)
blanche/pipe/preprocessing/a11y/pruning.py:77
← previousnext →301–400 of 564, ranked by callers