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
↓ 1 callers
Method
get_pipe
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:247
↓ 1 callers
Function
get_playwright_code_from_selector
( selectors: HtmlSelector, action_type: str, parameters: list[ActionParameterValue], timeout:
blanche/actions/code.py:36
↓ 1 callers
Function
get_subtree_roles
(node: A11yNode, include_root_role: bool = True)
blanche/pipe/preprocessing/a11y/pruning.py:93
↓ 1 callers
Method
goto
()
blanche/actions/base.py:136
↓ 1 callers
Function
group_1_char_strings
(texts: list[str])
blanche/pipe/preprocessing/a11y/grouping.py:118
↓ 1 callers
Function
image_from_bytes
(image_bytes: bytes)
blanche/utils/image.py:12
↓ 1 callers
Function
img_down
Downloads and saves an image from a URL, handling different formats. Args: link: URL of the image to download output_dir: Op
blanche/utils/image.py:39
↓ 1 callers
Method
important_roles
(self)
blanche/pipe/preprocessing/a11y/pruning.py:68
↓ 1 callers
Method
is_data
(self)
blanche/actions/space.py:47
↓ 1 callers
Method
is_done
(self, text: str)
blanche/common/parser.py:115
↓ 1 callers
Method
is_done
(self, text: str)
examples/agent.py:140
↓ 1 callers
Method
is_editable
(self)
tests/mock/mock_browser.py:56
↓ 1 callers
Method
is_enabled
(self)
tests/mock/mock_browser.py:52
↓ 1 callers
Method
is_image
(self)
blanche/browser/node_type.py:592
↓ 1 callers
Function
is_interaction_group
(node: A11yNode, add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:58
↓ 1 callers
Function
is_text_group
(node: A11yNode, add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:51
↓ 1 callers
Function
is_valid_url
Check if the given URL is valid and points to a website. Args: url (str): The URL to check. Returns: bool: True if the URL i
blanche/utils/url.py:39
↓ 1 callers
Method
is_visible
(self)
tests/mock/mock_browser.py:48
↓ 1 callers
Function
list_all_text_names_in_subtree
(node: A11yNode)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:38
↓ 1 callers
Function
load_webvoyager_data
()
eval/webvoyager/load_data.py:29
↓ 1 callers
Function
matching_ft
(node: A11yNode)
blanche/pipe/preprocessing/a11y/traversal.py:22
↓ 1 callers
Method
merge_action_lists
( self, inodes_ids: list[str], actions: list[PossibleAction], previous_action_
blanche/pipe/main.py:179
↓ 1 callers
Function
nb_conflicting_children
(n: A11yNode)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:196
↓ 1 callers
Method
parse
(self, content: str, partial: bool = True)
blanche/actions/parsing.py:16
↓ 1 callers
Function
parse_markdown_action_list
( markdown_content: str, parse_parameters: bool = True, partial: bool = False, )
blanche/actions/parsing.py:142
↓ 1 callers
Function
parse_name_and_type
(parameter_str: str)
blanche/actions/parsing.py:72
↓ 1 callers
Function
parse_values
(values_str: str)
blanche/actions/parsing.py:90
↓ 1 callers
Method
press
(self, key: str = "Enter")
blanche/browser/driver.py:141
↓ 1 callers
Method
press
Mock key press action
tests/mock/mock_browser.py:133
↓ 1 callers
Function
prioritize_role
(child: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:253
↓ 1 callers
Function
process_action_code
( action: ExecutableAction, context: Context, generated: bool = False, )
blanche/actions/code.py:100
↓ 1 callers
Function
prune_non_dialogs_if_present
(node: A11yNode)
blanche/pipe/preprocessing/a11y/pruning.py:100
↓ 1 callers
Method
relevant_attrs
(self)
blanche/browser/node_type.py:469
↓ 1 callers
Method
reset
Mock browser reset
tests/mock/mock_browser.py:129
↓ 1 callers
Function
resolve_image_conflict
(page: Page, node: BlancheNode, node_id: str)
blanche/pipe/data_scraping.py:116
↓ 1 callers
Method
rules
(self)
blanche/common/parser.py:50
↓ 1 callers
Method
run
(self, task: str, url: str | None = None)
blanche/common/agent.py:18
↓ 1 callers
Method
scrape
()
blanche/actions/base.py:147
↓ 1 callers
Function
should_group
(node: A11yNode, group_roles: set[str], add_group_role: bool = True)
blanche/pipe/preprocessing/a11y/grouping.py:26
↓ 1 callers
Method
special_actions
(self)
blanche/actions/space.py:101
↓ 1 callers
Function
split_parameters
(parameters_str: str)
blanche/actions/parsing.py:96
↓ 1 callers
Method
start
(self)
blanche/browser/driver.py:46
↓ 1 callers
Method
start
Initialize the playwright instance
blanche/browser/pool.py:117
↓ 1 callers
Method
start
(self, **data: Unpack[SessionRequestDict])
blanche/sdk/client.py:78
↓ 1 callers
Method
start
(self)
blanche/common/resource.py:15
↓ 1 callers
Method
start
Mock browser startup
tests/mock/mock_browser.py:116
↓ 1 callers
Method
subtree_without
(self, roles: set[str])
blanche/browser/node_type.py:627
↓ 1 callers
Function
sync_image_ids_between_trees
(target: A11yNode, source: A11yNode)
blanche/pipe/preprocessing/a11y/id_generation.py:119
↓ 1 callers
Method
terminate
()
blanche/actions/base.py:195
↓ 1 callers
Method
text_content
(self)
tests/mock/mock_browser.py:44
↓ 1 callers
Method
think
Processes the conversation history through the LLM to decide the next action. Override this method to customize how your agent inter
examples/agent.py:81
↓ 1 callers
Method
to_interaction_node
(self)
blanche/browser/node_type.py:639
↓ 1 callers
Function
transform_to_markdown
(children: list[A11yNode], join_with: str = "\n")
blanche/pipe/preprocessing/a11y/grouping.py:85
↓ 1 callers
Function
transform_to_markdown_list
(children: list[A11yNode], level: int = 0)
blanche/pipe/preprocessing/a11y/grouping.py:264
↓ 1 callers
Function
try_relax_selector
(page: Page, node: A11yNode, relax_level: int = 1)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:526
↓ 1 callers
Function
verify_ids
(source_node: A11yNode, target_node: A11yNode)
tests/pipe/preprocessing/a11y/test_id_generation.py:74
↓ 1 callers
Method
which
(self, text: str)
blanche/common/parser.py:30
↓ 1 callers
Method
with_actions
(self, actions: list[Action])
blanche/actions/space.py:74
Method
__aenter__
(self)
blanche/common/resource.py:24
Method
__aexit__
( self, exc_type: type[BaseException], exc_val: BaseException, exc_tb: type[Ba
blanche/common/resource.py:28
Method
__enter__
(self)
blanche/sdk/client.py:102
Method
__exit__
(self, exc_type, exc_value, traceback)
blanche/sdk/client.py:106
Method
__init__
( self, max_steps: int = 30, browser: BrowserDriver | None = None, llmserve: L
blanche/env.py:51
Method
__init__
(self, **kwargs: Unpack[BrowserArgs])
blanche/browser/driver.py:30
Method
__init__
( self, **browser_args: Unpack[BrowserArgs], )
blanche/browser/driver.py:70
Method
__init__
( self, base_debug_port: int = 9222, config: BrowserPoolConfig | None = None,
blanche/browser/pool.py:81
Method
__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/document_category.py:13
Method
__init__
(self, browser: BrowserDriver)
blanche/pipe/resolution.py:17
Method
__init__
(self, llmserve: LLMService | None = None, browser: BrowserDriver | None = None)
blanche/pipe/data_scraping.py:162
Method
__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:19
Method
__init__
( self, llmserve: LLMService | None, prompt_id: str, incremental_prompt_id: st
blanche/pipe/listing.py:48
Method
__init__
(self, llmserve: LLMService | None = None)
blanche/pipe/listing.py:224
Method
__init__
( self, action_listing_pipe: ActionListingPipe = ActionListingPipe.SIMPLE_MARKDOWN_TABLE,
blanche/pipe/main.py:44
Method
__init__
(self, prompts_dir: str | Path)
blanche/llms/prompt.py:8
Method
__init__
(self)
blanche/llms/service.py:23
Method
__init__
( self, api_key: str | None = None, server_url: str | None = None, )
blanche/sdk/client.py:38
Method
__init__
(self, resource: AsyncResourceProtocol)
blanche/common/resource.py:11
Method
__init__
( self, # api_model: str = "openai/gpt-4-turbo", api_model: str = "groq/llama-3.3-70b-
eval/webvoyager/eval.py:22
Method
__init__
( self, api_key: str, max_attached_imgs: int = 3, api_model: str = "openai/gpt
eval/webvoyager/eval.py:126
Method
__init__
( self, headless: bool = True, timeout: int = 10000, screenshot: bool = False,
tests/mock/mock_browser.py:78
Method
__init__
(self, mock_response: str)
tests/mock/mock_service.py:12
Method
__init__
(self)
tests/mock/mock_env.py:15
Method
__init__
( self, model: str, max_steps: int, headless: bool, parser: Parser | N
examples/agent.py:63
Method
__new__
(cls)
blanche/actions/space.py:188
Method
__post_init__
(self)
blanche/browser/node_type.py:654
Method
__post_init__
(self)
blanche/actions/base.py:48
Method
__post_init__
(self)
blanche/actions/base.py:81
Method
__post_init__
(self)
blanche/actions/base.py:131
Method
__post_init__
(self)
blanche/actions/space.py:68
Method
__post_init__
(self)
blanche/pipe/preprocessing/a11y/tree.py:36
Method
__post_init__
(self)
blanche/sdk/types.py:49
Method
__post_init__
(self)
eval/webvoyager/load_data.py:14
Function
_timeit
(func: F)
blanche/common/logging.py:11
Function
action_ids
()
tests/actions/test_parsing.py:97
Function
action_list_answer
()
tests/pipe/test_listing.py:12
Function
action_parameters
()
tests/actions/test_parsing.py:71
Function
action_parameters_with_values
()
tests/actions/test_parsing.py:121
Function
action_table_answer
()
tests/pipe/test_listing.py:28
Function
aenv
Helper fixture that returns the BlancheEnv instance directly
tests/test_env.py:46
Function
api_key
()
tests/sdk/test_client.py:23
← previous
next →
201–300 of 564, ranked by callers