Skip to content

API Reference parrot_tools.scraping.driver

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.scraping.driver

View source

Enhanced Selenium Setup for WebScrapingTool Extracted and adapted from SeleniumService class

Alias CHROME_OPTIONS

Re-exported from parrot_tools.scraping.options.CHROME_OPTIONS.

Alias FIREFOX_OPTIONS

Re-exported from parrot_tools.scraping.options.FIREFOX_OPTIONS.

Alias MOBILE_DEVICES

Re-exported from parrot_tools.scraping.options.MOBILE_DEVICES.

Alias MOBILE_USER_AGENTS

Re-exported from parrot_tools.scraping.options.MOBILE_USER_AGENTS.

Class SeleniumSetup

Selenium Setup Configuration.

Parameter Type Default Description
browser Literal['chrome', 'firefox', 'edge', 'safari', 'undetected'] 'chrome' Browser type to use
headless bool True Run in headless mode
mobile bool False Enable mobile emulation (Chrome only)
mobile_device Optional[str] None Specific mobile device to emulate
browser_binary Optional[str] None Path to browser executable
driver_binary Optional[str] None Path to driver executable
auto_install bool True Auto-install driver if not found
cache_valid_range int 7 Driver cache validity in days
user_data_dir Optional[str] None Custom user data directory
profile_directory Optional[str] None Profile folder inside user_data_dir (Chrome: "Default", "Profile 1", ...)
enable_logging bool True Enable detailed logging
timeout int 10
detach bool False
debugger_address Optional[str] None
**kwargs {}

Method SeleniumSetup.get_driver

Get configured WebDriver instance.

get_driver()

Attribute UNDETECTED_CHROME_AVAILABLE

Alias UNDETECTED_OPTIONS

Re-exported from parrot_tools.scraping.options.UNDETECTED_OPTIONS.

Alias USER_AGENTS

Re-exported from parrot_tools.scraping.options.USER_AGENTS.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally