MCPcopy Create free account

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

Functions564 in github.com/blanche-official/blanche

Methodrefresh
(self)
blanche/browser/driver.py:110
Methodreset
(self)
blanche/env.py:241
Methodreset
(self)
blanche/browser/driver.py:83
Functionresolve_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
Functionresolve_conflict_with_closest_neighbor
(page: Page, tree: A11yNode, node_id: str)
blanche/pipe/preprocessing/a11y/conflict_resolution.py:450
Functionresolve_conflicts_by_order
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:434
Functionresolve_conflicts_for_nested_buttons
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:187
Functionresolve_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
Functionresolve_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
Functionresolve_link_conflict
( page: Page, node: A11yNode, node_path: list[A11yNode], locators: list[Locator] )
blanche/pipe/preprocessing/a11y/conflict_resolution.py:15
Methodrole
(self, raise_error: bool = False)
blanche/actions/base.py:52
Methodrules
(self)
blanche/common/parser.py:149
Methodsample
( self, status: Literal[ActionStatus, "all"] = "valid", role: Literal[ActionRole, "all
blanche/actions/space.py:104
Methodscrape
(self, **data: Unpack[ScrapeRequestDict])
blanche/sdk/client.py:138
Functionserver_url
()
tests/sdk/test_client.py:28
Functionsession_id
()
tests/sdk/test_client.py:66
Methodsession_id
(self)
blanche/sdk/client.py:50
Methodsnapshot
Return a mock browser snapshot
tests/mock/mock_browser.py:125
Methodspace
(self)
blanche/browser/observation.py:26
Methodstart
(self)
blanche/common/resource.py:6
Methodstep
(self, **data: Unpack[StepRequestDict])
blanche/sdk/client.py:150
Methodstep
(self, text: str)
blanche/common/parser.py:46
Methodstep
(self, text: str)
blanche/common/parser.py:134
Functiontemp_prompts_dir
(tmp_path: Path)
tests/llms/test_prompt.py:9
Functiontest_action_listing_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:106
Functiontest_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
Functiontest_all_interaction_roles_have_short_id
()
tests/browser/test_node_type.py:270
Functiontest_allrecipes
Test resolution pipe with Allrecipes homepage
tests/integration/test_resolution.py:95
Functiontest_amazon
Test resolution pipe with Amazon homepage
tests/integration/test_resolution.py:101
Functiontest_apple
Test resolution pipe with Apple homepage
tests/integration/test_resolution.py:106
Functiontest_arxiv
Test resolution pipe with Arxiv homepage
tests/integration/test_resolution.py:111
Functiontest_bbc
Test resolution pipe with BBC homepage
tests/integration/test_resolution.py:90
Functiontest_blanche
Test resolution pipe with Blanche homepage
tests/integration/test_resolution.py:84
Functiontest_blanche_node
()
tests/browser/test_node_type.py:64
Functiontest_blanche_node_flatten
()
tests/browser/test_node_type.py:100
Functiontest_booking
Test resolution pipe with Booking.com homepage
tests/integration/test_resolution.py:116
Functiontest_browser_reuse
Test that browsers are reused efficiently
tests/browser/test_pool.py:182
Functiontest_cambridge_dictionary
Test resolution pipe with Cambridge Dictionary homepage
tests/integration/test_resolution.py:126
Functiontest_cleanup_with_exceptions
Test cleanup with different except_resources configurations
tests/browser/test_pool.py:84
Functiontest_client_initialization_with_env_vars
()
tests/sdk/test_client.py:45
Functiontest_client_initialization_with_params
()
tests/sdk/test_client.py:52
Functiontest_client_initialization_without_api_key
()
tests/sdk/test_client.py:59
Functiontest_close_session
(mock_post: MagicMock, client: BlancheClient, api_key: str, session_id: str)
tests/sdk/test_client.py:109
Functiontest_completion_error
(llm_engine: LLMEngine)
tests/llms/test_engine.py:30
Functiontest_completion_success
(llm_engine: LLMEngine)
tests/llms/test_engine.py:14
Functiontest_complex_pruning_scenario
(config: PruningConfig)
tests/pipe/preprocessing/a11y/test_pruning.py:109
Functiontest_consistency_node_role_and_category
()
tests/browser/test_node_type.py:168
Functiontest_construct_image_url
()
tests/utils/test_image.py:4
Functiontest_context_inodes_all_covered_by_previous_actions_listed
()
tests/pipe/test_main.py:83
Functiontest_context_inodes_empty_previous_returns_llms
()
tests/pipe/test_main.py:119
Functiontest_context_inodes_empty_should_return_empty
()
tests/pipe/test_main.py:101
Functiontest_context_property_after_observation
Test that context is properly set after observation
tests/test_env.py:59
Functiontest_context_property_before_observation
Test that accessing context before observation raises an error
tests/test_env.py:52
Functiontest_coursera
Test resolution pipe with Coursera homepage
tests/integration/test_resolution.py:121
Functiontest_critical_rules_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:126
Functiontest_critical_rules_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:106
Functiontest_data_extraction_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:91
Functiontest_document_analysis_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:90
Functiontest_document_analysis_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:46
Functiontest_document_category_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:33
Functiontest_document_summary_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:82
Functiontest_error_handling
Test error handling scenarios
tests/browser/test_pool.py:201
Functiontest_espn
Test resolution pipe with ESPN homepage
tests/integration/test_resolution.py:131
Functiontest_example_output_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:144
Functiontest_example_outputs_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:115
Functiontest_examples_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:134
Functiontest_execution
(phantombuster_login: ExecutionTest, headless: bool)
tests/actions/test_execution.py:51
Methodtest_extract_missing_inner_tag
(self)
tests/llms/test_engine.py:66
Methodtest_extract_missing_outer_tag
(self)
tests/llms/test_engine.py:59
Methodtest_extract_with_both_tags
(self)
tests/llms/test_engine.py:54
Methodtest_extract_with_fail_if_final_tag
(self)
tests/llms/test_engine.py:73
Methodtest_extract_with_inner_tag
(self)
tests/llms/test_engine.py:49
Methodtest_extract_with_outer_tag
(self)
tests/llms/test_engine.py:44
Functiontest_final_reminders_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:124
Functiontest_fold_link_button
()
tests/pipe/preprocessing/a11y/test_pruning.py:21
Functiontest_fold_paragraph_single_text_node
(node: A11yNode)
tests/pipe/preprocessing/a11y/test_text.py:111
Functiontest_format_observe_response
(client: BlancheClient, session_id: str)
tests/sdk/test_client.py:260
Functiontest_format_path_for_conflict_resolution
()
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:96
Functiontest_generate_ids_with_empty_names
Test that nodes with empty names don't get IDs
tests/pipe/preprocessing/a11y/test_id_generation.py:101
Functiontest_generate_ids_with_unsupported_role
Test handling of unsupported roles
tests/pipe/preprocessing/a11y/test_id_generation.py:121
Functiontest_generate_sequential_ids
Test that sequential IDs are generated correctly for interactive elements
tests/pipe/preprocessing/a11y/test_id_generation.py:32
Functiontest_get_prompt
(temp_prompts_dir: Path)
tests/llms/test_prompt.py:36
Functiontest_github
Test resolution pipe with Github homepage
tests/integration/test_resolution.py:136
Functiontest_google
Test resolution pipe with Google homepage
tests/integration/test_resolution.py:49
Functiontest_google_flights
Test resolution pipe with Google Flights homepage
tests/integration/test_resolution.py:54
Functiontest_google_flights
()
tests/integration/test_basic_scripts.py:8
Functiontest_google_maps
Test resolution pipe with Google Maps homepage
tests/integration/test_resolution.py:59
Functiontest_google_news
Test resolution pipe with Google News homepage
tests/integration/test_resolution.py:64
Functiontest_google_translate
Test resolution pipe with Google Translate homepage
tests/integration/test_resolution.py:69
Functiontest_html_selector
()
tests/browser/test_node_type.py:125
Functiontest_huggingface
Test resolution pipe with HuggingFace homepage
tests/integration/test_resolution.py:141
Functiontest_increase_depth_leads_to_more_text_names
(node: A11yNode)
tests/pipe/preprocessing/a11y/test_conflict_resolution.py:129
Functiontest_instagram
Test resolution pipe with Instagram homepage
tests/integration/test_resolution.py:79
Functiontest_intro_section
(prompt_contents: dict[str, str])
tests/llms/test_action_listing_prompt_discrepancies.py:63
Functiontest_intro_section
(prompt_contents: dict[str, str])
tests/llms/test_extract_data_prompt_discrepancies.py:24
Functiontest_linkedin
Test resolution pipe with LinkedIn homepage
tests/integration/test_resolution.py:74
Functiontest_listing_pipe
( mock_context: Context, parser: ActionListingParser, mock_response: str, request: pytest.FixtureRequest )
tests/pipe/test_listing.py:81
Functiontest_materialize_prompt
(temp_prompts_dir: Path)
tests/llms/test_prompt.py:51
Functiontest_mixed_headless_modes
Test managing resources with different headless modes
tests/browser/test_pool.py:137
Functiontest_node_attributes
()
tests/browser/test_node_type.py:136
← previousnext →401–500 of 564, ranked by callers