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
refresh
(self)
blanche/browser/driver.py:110
Method
reset
(self)
blanche/env.py:241
Method
reset
(self)
blanche/browser/driver.py:83
Function
resolve_conflict_by_text_parents
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator], min_dept
blanche/pipe/preprocessing/a11y/conflict_resolution.py:70
Function
resolve_conflict_with_closest_neighbor
(page: Page, tree: A11yNode, node_id: str)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:450
Function
resolve_conflicts_by_order
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:434
Function
resolve_conflicts_for_nested_buttons
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:187
Function
resolve_conflicts_in_path
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator], verbose: bool = False )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:138
Function
resolve_domain_to_url
Resolve a domain to its corresponding URL. Args: domain (str): The domain to resolve. Returns: str | None: The corresponding
blanche/utils/url.py:19
Function
resolve_link_conflict
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:15
Method
role
(self, raise_error: bool = False)
blanche/actions/base.py:52
Method
rules
(self)
blanche/common/parser.py:149
Method
sample
( self, status: Literal[ActionStatus, "all"] = "valid", role: Literal[ActionRole, "all
blanche/actions/space.py:104
Method
scrape
(self, **data: Unpack[ScrapeRequestDict])
blanche/sdk/client.py:138
Function
server_url
()
tests/sdk/test_client.py:28
Function
session_id
()
tests/sdk/test_client.py:66
Method
session_id
(self)
blanche/sdk/client.py:50
Method
snapshot
Return a mock browser snapshot
tests/mock/mock_browser.py:125
Method
space
(self)
blanche/browser/observation.py:26
Method
start
(self)
blanche/common/resource.py:6
Method
step
(self, **data: Unpack[StepRequestDict])
blanche/sdk/client.py:150
Method
step
(self, text: str)
blanche/common/parser.py:46
Method
step
(self, text: str)
blanche/common/parser.py:134
Function
temp_prompts_dir
(tmp_path: Path)
tests/llms/test_prompt.py:9
Function
test_action_listing_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:106
Function
test_action_space_fields_match_response_types
Ensure all fields in ActionSpace have corresponding fields in ActionSpaceResponseDict/ActionSpaceResponse. This test will fail if a new field
tests/sdk/test_types.py:65
Function
test_all_interaction_roles_have_short_id
()
tests/browser/test_node_type.py:270
Function
test_allrecipes
Test resolution pipe with Allrecipes homepage
tests/integration/test_resolution.py:95
Function
test_amazon
Test resolution pipe with Amazon homepage
tests/integration/test_resolution.py:101
Function
test_apple
Test resolution pipe with Apple homepage
tests/integration/test_resolution.py:106
Function
test_arxiv
Test resolution pipe with Arxiv homepage
tests/integration/test_resolution.py:111
Function
test_bbc
Test resolution pipe with BBC homepage
tests/integration/test_resolution.py:90
Function
test_blanche
Test resolution pipe with Blanche homepage
tests/integration/test_resolution.py:84
Function
test_blanche_node
()
tests/browser/test_node_type.py:64
Function
test_blanche_node_flatten
()
tests/browser/test_node_type.py:100
Function
test_booking
Test resolution pipe with Booking.com homepage
tests/integration/test_resolution.py:116
Function
test_browser_reuse
Test that browsers are reused efficiently
tests/browser/test_pool.py:182
Function
test_cambridge_dictionary
Test resolution pipe with Cambridge Dictionary homepage
tests/integration/test_resolution.py:126
Function
test_cleanup_with_exceptions
Test cleanup with different except_resources configurations
tests/browser/test_pool.py:84
Function
test_client_initialization_with_env_vars
()
tests/sdk/test_client.py:45
Function
test_client_initialization_with_params
()
tests/sdk/test_client.py:52
Function
test_client_initialization_without_api_key
()
tests/sdk/test_client.py:59
Function
test_close_session
(mock_post: MagicMock, client: BlancheClient, api_key: str, session_id: str)
tests/sdk/test_client.py:109
Function
test_completion_error
(llm_engine: LLMEngine)
tests/llms/test_engine.py:30
Function
test_completion_success
(llm_engine: LLMEngine)
tests/llms/test_engine.py:14
Function
test_complex_pruning_scenario
(config: PruningConfig)
tests/pipe/preprocessing/a11y/test_pruning.py:109
Function
test_consistency_node_role_and_category
()
tests/browser/test_node_type.py:168
Function
test_construct_image_url
()
tests/utils/test_image.py:4
Function
test_context_inodes_all_covered_by_previous_actions_listed
()
tests/pipe/test_main.py:83
Function
test_context_inodes_empty_previous_returns_llms
()
tests/pipe/test_main.py:119
Function
test_context_inodes_empty_should_return_empty
()
tests/pipe/test_main.py:101
Function
test_context_property_after_observation
Test that context is properly set after observation
tests/test_env.py:59
Function
test_context_property_before_observation
Test that accessing context before observation raises an error
tests/test_env.py:52
Function
test_coursera
Test resolution pipe with Coursera homepage
tests/integration/test_resolution.py:121
Function
test_critical_rules_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:126
Function
test_critical_rules_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:106
Function
test_data_extraction_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:91
Function
test_document_analysis_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:90
Function
test_document_analysis_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:46
Function
test_document_category_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:33
Function
test_document_summary_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:82
Function
test_error_handling
Test error handling scenarios
tests/browser/test_pool.py:201
Function
test_espn
Test resolution pipe with ESPN homepage
tests/integration/test_resolution.py:131
Function
test_example_output_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:144
Function
test_example_outputs_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:115
Function
test_examples_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:134
Function
test_execution
(phantombuster_login: ExecutionTest, headless: bool)
tests/actions/test_execution.py:51
Method
test_extract_missing_inner_tag
(self)
tests/llms/test_engine.py:66
Method
test_extract_missing_outer_tag
(self)
tests/llms/test_engine.py:59
Method
test_extract_with_both_tags
(self)
tests/llms/test_engine.py:54
Method
test_extract_with_fail_if_final_tag
(self)
tests/llms/test_engine.py:73
Method
test_extract_with_inner_tag
(self)
tests/llms/test_engine.py:49
Method
test_extract_with_outer_tag
(self)
tests/llms/test_engine.py:44
Function
test_final_reminders_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:124
Function
test_fold_link_button
()
tests/pipe/preprocessing/a11y/test_pruning.py:21
Function
test_fold_paragraph_single_text_node
(node: A11yNode)
tests/pipe/preprocessing/a11y/test_text.py:111
Function
test_format_observe_response
(client: BlancheClient, session_id: str)
tests/sdk/test_client.py:260
Function
test_format_path_for_conflict_resolution
()
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:96
Function
test_generate_ids_with_empty_names
Test that nodes with empty names don't get IDs
tests/pipe/preprocessing/a11y/test_id_generation.py:101
Function
test_generate_ids_with_unsupported_role
Test handling of unsupported roles
tests/pipe/preprocessing/a11y/test_id_generation.py:121
Function
test_generate_sequential_ids
Test that sequential IDs are generated correctly for interactive elements
tests/pipe/preprocessing/a11y/test_id_generation.py:32
Function
test_get_prompt
(temp_prompts_dir: Path)
tests/llms/test_prompt.py:36
Function
test_github
Test resolution pipe with Github homepage
tests/integration/test_resolution.py:136
Function
test_google
Test resolution pipe with Google homepage
tests/integration/test_resolution.py:49
Function
test_google_flights
Test resolution pipe with Google Flights homepage
tests/integration/test_resolution.py:54
Function
test_google_flights
()
tests/integration/test_basic_scripts.py:8
Function
test_google_maps
Test resolution pipe with Google Maps homepage
tests/integration/test_resolution.py:59
Function
test_google_news
Test resolution pipe with Google News homepage
tests/integration/test_resolution.py:64
Function
test_google_translate
Test resolution pipe with Google Translate homepage
tests/integration/test_resolution.py:69
Function
test_html_selector
()
tests/browser/test_node_type.py:125
Function
test_huggingface
Test resolution pipe with HuggingFace homepage
tests/integration/test_resolution.py:141
Function
test_increase_depth_leads_to_more_text_names
(node: A11yNode)
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:129
Function
test_instagram
Test resolution pipe with Instagram homepage
tests/integration/test_resolution.py:79
Function
test_intro_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:63
Function
test_intro_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:24
Function
test_linkedin
Test resolution pipe with LinkedIn homepage
tests/integration/test_resolution.py:74
Function
test_listing_pipe
( mock_context: Context, parser: ActionListingParser, mock_response: str, request: pytest.FixtureRequest )
tests/pipe/test_listing.py:81
Function
test_materialize_prompt
(temp_prompts_dir: Path)
tests/llms/test_prompt.py:51
Function
test_mixed_headless_modes
Test managing resources with different headless modes
tests/browser/test_pool.py:137
Function
test_node_attributes
()
tests/browser/test_node_type.py:136
← previous
next →
401–500 of 564, ranked by callers