Basic example demonstrating how to connect to a browser using Chrome DevTools Protocol (CDP)
To get started developing browser automation projects with Intuned, check out our concepts and terminology.
NOTE: All commands support
--helpflag to get more information about the command and its arguments and options.
uv syncAfter installing dependencies, intuned command should be available in your environment.
uv run intuned run api connect-to-cdp .parameters/api/connect-to-cdp/default.jsonuv run intuned provisionuv run intuned deployThis project uses Intuned browser SDK. For more information, check out the Intuned Browser SDK documentation.
The project structure is as follows:
/
├── api/ # Your API endpoints
│ └── connect-to-cdp.py # CDP connection example
├── hooks/ # Setup hooks that run before API execution
│ └── setup_context.py # Captures CDP URL from Intuned runtime
├── utils/ # Utility functions and schemas
│ └── types_and_schemas.py # Pydantic models and type definitions
├── .parameters/ # Parameter files for testing APIs
│ └── api/ # API parameters folder
│ └── connect-to-cdp/ # Parameters for CDP connection API
│ └── default.json # Default parameters (URL to navigate to)
└── Intuned.jsonc # Intuned project configuration file