From 4d1adabd01f94fe85d232e3b63a43102028fc886 Mon Sep 17 00:00:00 2001 From: Izzat Alsharif Date: Mon, 5 Jan 2026 12:40:25 +0200 Subject: [PATCH 1/2] Fix readmes in captcha-solving-auth-example templates --- .../captcha-solving-auth-example/README.md | 29 ++++++++-------- .../captcha-solving-auth-example/README.md | 34 ++++++++----------- 2 files changed, 30 insertions(+), 33 deletions(-) diff --git a/python-examples/captcha-solving-auth-example/README.md b/python-examples/captcha-solving-auth-example/README.md index b886cbb7..b86b435f 100644 --- a/python-examples/captcha-solving-auth-example/README.md +++ b/python-examples/captcha-solving-auth-example/README.md @@ -1,6 +1,7 @@ # captcha-solving-auth-example Intuned project -E-commerce scraper automation to demonstrate our captcha solving and stealth mode capabilities for cloudflare with a real example +E-commerce scraper automation to demonstrate our captcha solving and stealth mode capabilities for cloudflare with a real example. +It uses `wait_for_captcha_solve()` in the create api (`auth-sessions/create.py`) to automatically solve captchas during login. ## Run on Intuned @@ -12,12 +13,12 @@ Open this project in Intuned by clicking the button below. To get started developing browser automation projects with Intuned, check out our [concepts and terminology](https://docs.intunedhq.com/docs/getting-started/conceptual-guides/core-concepts#runs%3A-executing-your-automations). - ## Development -> **_NOTE:_** All commands support `--help` flag to get more information about the command and its arguments and options. +> **_NOTE:_** All commands support `--help` flag to get more information about the command and its arguments and options. ### Install dependencies + ```bash uv sync ``` @@ -25,6 +26,7 @@ uv sync After installing dependencies, `intuned` command should be available in your environment. ### Run an API + ```bash # List products uv run intuned run api list .parameters/api/list/default.json @@ -34,6 +36,7 @@ uv run intuned run api details .parameters/api/details/default.json ``` ### Deploy project + ```bash uv run intuned deploy ``` @@ -42,15 +45,14 @@ uv run intuned deploy This project uses Intuned browser SDK. For more information, check out the [Intuned Browser SDK documentation](https://docs.intunedhq.com/automation-sdks/overview). - - - ## Project Structure + The project structure is as follows: + ``` / -├── apis/ # Your API endpoints -│ └── ... +├── apis/ # Your API endpoints +│ └── ... ├── auth-sessions/ # Auth session related APIs │ ├── check.py # API to check if the auth session is still valid │ └── create.py # API to create/recreate the auth session programmatically @@ -59,15 +61,15 @@ The project structure is as follows: └── Intuned.jsonc # Intuned project configuration file ``` - ## `Intuned.jsonc` Reference + ```jsonc { - // Your Intuned workspace ID. + // Your Intuned workspace ID. // Optional - If not provided here, it must be supplied via the `--workspace-id` flag during deployment. "workspaceId": "your_workspace_id", - // The name of your Intuned project. + // The name of your Intuned project. // Optional - If not provided here, it must be supplied via the command line when deploying. "projectName": "your_project_name", @@ -98,7 +100,7 @@ The project structure is as follows: // "API" type requires implementing "auth-sessions/create.ts" API to create/recreate the auth session programmatically. // "MANUAL" type uses a recorder to manually create the auth session. "type": "API", - + // Recorder start URL for the recorder to navigate to when creating the auth session. // Required if "type" is "MANUAL". Not used if "type" is "API". @@ -114,7 +116,7 @@ The project structure is as follows: // Only applicable for "MANUAL" type. "browserMode": "fullscreen" } - + // API access settings "apiAccess": { // Whether to enable consumption through Intuned API. If this is false, the project can only be consumed through jobs. @@ -131,4 +133,3 @@ The project structure is as follows: "region": "us" } ``` - diff --git a/typescript-examples/captcha-solving-auth-example/README.md b/typescript-examples/captcha-solving-auth-example/README.md index 5c6961f3..470d1169 100644 --- a/typescript-examples/captcha-solving-auth-example/README.md +++ b/typescript-examples/captcha-solving-auth-example/README.md @@ -1,6 +1,7 @@ # captcha-solving-auth-example Intuned project -E-commerce scraper automation to demonstrate our captcha solving capabilities for cloudflare with a real example +E-commerce scraper automation to demonstrate our captcha solving capabilities for cloudflare with a real example. +It uses `wait_for_captcha_solve()` in the create api (`auth-sessions/create.py`) to automatically solve captchas during login. ## Run on Intuned @@ -12,12 +13,12 @@ Open this project in Intuned by clicking the button below. To get started developing browser automation projects with Intuned, check out our [concepts and terminology](https://docs.intunedhq.com/docs/getting-started/conceptual-guides/core-concepts#runs%3A-executing-your-automations). - ## Development -> **_NOTE:_** All commands support `--help` flag to get more information about the command and its arguments and options. +> **_NOTE:_** All commands support `--help` flag to get more information about the command and its arguments and options. ### Install dependencies + ```bash # npm npm install @@ -26,8 +27,7 @@ npm install yarn ``` -> **_NOTE:_** If you are using `npm`, make sure to pass `--` when using options with the `intuned` command. - +> **_NOTE:_** If you are using `npm`, make sure to pass `--` when using options with the `intuned` command. ### Run an API @@ -48,6 +48,7 @@ yarn intuned run api details .parameters/api/details/default.json ``` ### Deploy project + ```bash # npm npm run intuned deploy @@ -57,22 +58,18 @@ yarn intuned deploy ``` - - - ### `@intuned/browser`: Intuned Browser SDK This project uses Intuned browser SDK. For more information, check out the [Intuned Browser SDK documentation](https://docs.intunedhq.com/automation-sdks/overview). - - - ## Project Structure + The project structure is as follows: + ``` / -├── apis/ # Your API endpoints -│ └── ... +├── apis/ # Your API endpoints +│ └── ... ├── auth-sessions/ # Auth session related APIs │ ├── check.ts # API to check if the auth session is still valid │ └── create.ts # API to create/recreate the auth session programmatically @@ -81,15 +78,15 @@ The project structure is as follows: └── Intuned.jsonc # Intuned project configuration file ``` - ## `Intuned.jsonc` Reference + ```jsonc { - // Your Intuned workspace ID. + // Your Intuned workspace ID. // Optional - If not provided here, it must be supplied via the `--workspace-id` flag during deployment. "workspaceId": "your_workspace_id", - // The name of your Intuned project. + // The name of your Intuned project. // Optional - If not provided here, it must be supplied via the command line when deploying. "projectName": "your_project_name", @@ -120,7 +117,7 @@ The project structure is as follows: // "API" type requires implementing "auth-sessions/create.ts" API to create/recreate the auth session programmatically. // "MANUAL" type uses a recorder to manually create the auth session. "type": "API", - + // Recorder start URL for the recorder to navigate to when creating the auth session. // Required if "type" is "MANUAL". Not used if "type" is "API". @@ -136,7 +133,7 @@ The project structure is as follows: // Only applicable for "MANUAL" type. "browserMode": "fullscreen" } - + // API access settings "apiAccess": { // Whether to enable consumption through Intuned API. If this is false, the project can only be consumed through jobs. @@ -153,4 +150,3 @@ The project structure is as follows: "region": "us" } ``` - From 5a2bd030371fd04f1fb643ea75a7ab53667f3b88 Mon Sep 17 00:00:00 2001 From: Izzat Alsharif Date: Mon, 5 Jan 2026 13:19:26 +0200 Subject: [PATCH 2/2] fix captcha-solving-auth-example create params --- .../.parameters/auth-sessions/create/default.json | 2 +- .../.parameters/auth-sessions/create/default.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json b/python-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json index b01e4c35..d819320e 100644 --- a/python-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json +++ b/python-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json @@ -1,4 +1,4 @@ { - "username": "demo@email.com", + "email": "admin@example.com", "password": "password" } \ No newline at end of file diff --git a/typescript-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json b/typescript-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json index b01e4c35..d819320e 100644 --- a/typescript-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json +++ b/typescript-examples/captcha-solving-auth-example/.parameters/auth-sessions/create/default.json @@ -1,4 +1,4 @@ { - "username": "demo@email.com", + "email": "admin@example.com", "password": "password" } \ No newline at end of file