Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

cdp-connection Intuned project

Basic example demonstrating how to connect to a browser using Chrome DevTools Protocol (CDP)

Getting Started

To get started developing browser automation projects with Intuned, check out our concepts and terminology.

Development

NOTE: All commands support --help flag to get more information about the command and its arguments and options.

Install dependencies

uv sync

After installing dependencies, intuned command should be available in your environment.

Run an API

uv run intuned run api connect-to-cdp .parameters/api/connect-to-cdp/default.json

Save project

uv run intuned provision

Deploy project

uv run intuned deploy

intuned-browser: Intuned Browser SDK

This project uses Intuned browser SDK. For more information, check out the Intuned Browser SDK documentation.

Project Structure

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

Learn More