# AI use cases for Doma (dom-actions/doma)

Repo: [dom-actions/doma](https://github.com/dom-actions/doma) | Use cases: 3 | Page: https://dedupedai.com/use-cases/dom-actions-doma/

DomA is an open-source AI web automation agent that runs inside Chrome or Edge as a browser extension, handling tasks like browsing, filling forms, clicking, and collecting information.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Fill repetitive web forms with DomA in your browser: https://dedupedai.com/use-cases/dom-actions-doma/fill-web-forms-with-doma/
- Collect data from web pages using a browser agent: https://dedupedai.com/use-cases/dom-actions-doma/collect-web-data-with-browser-agent/
- Build and modify DomA from its open-source source code: https://dedupedai.com/use-cases/dom-actions-doma/customize-doma-from-source/

## How to fill repetitive web forms with DomA in your browser with Doma

Repo: [dom-actions/doma](https://github.com/dom-actions/doma) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Let DomA fill and submit repeated web forms in Chrome or Edge using your own LLM key.

**Who it is for:** An office worker or operations staff member who must enter the same details into many web forms and wants the browser to do the typing.

**The problem:** Entering the same data into many web forms by hand is slow and error-prone.

**The outcome:** The forms you point DomA at are filled and clicked through, and you review the results before any final submission.

### Steps

1. Download the latest package from Releases at https://github.com/dom-actions/doma/releases and unzip it.
2. Open chrome://extensions or edge://extensions, turn on Developer mode, and drag the unzipped folder onto the page.
3. Add your own LLM API key in the extension settings.
4. Open the target form page and give DomA the task of filling it with your data.
5. Check every field before you let DomA submit.

### Prompt to paste into your agent

```text
Use the open-source repo dom-actions/doma as a browser agent to fill the web form at <target form URL> with the values in <data file>. Expected output: a report listing each field filled and any field left empty. Verify that the form shows the intended values before submission.
```

### Caveat

The README says you must supply your own LLM API key, and it does not describe how the key is configured inside the extension, so check the project documentation for that step.

Risk, credentials: Do not give DomA login passwords or payment details unless you have reviewed what it will send to your LLM provider.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/dom-actions-doma/fill-web-forms-with-doma/

## How to collect data from web pages using a browser agent with Doma

Repo: [dom-actions/doma](https://github.com/dom-actions/doma) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Have DomA browse a set of pages and gather the information you need into one place.

**Who it is for:** A researcher or analyst who needs to pull the same kinds of details from many web pages and does not want to copy them manually.

**The problem:** Gathering the same details from many pages by hand takes hours and is easy to get wrong.

**The outcome:** DomA visits the pages you name and returns the collected details, which you check against the source pages.

### Steps

1. Download the latest package from Releases at https://github.com/dom-actions/doma/releases and unzip it.
2. Load the folder as an unpacked extension using chrome://extensions or edge://extensions with Developer mode on.
3. Enter your own LLM API key in the extension.
4. Give DomA a list of page URLs and the fields you want collected.
5. Spot-check several collected values against the original pages before using the data.

### Prompt to paste into your agent

```text
Use the dom-actions/doma repo as a browser agent to visit the pages listed in <URL list file> and collect the fields <field names>. Expected output: a table with one row per page and one column per field. Verify by opening three random pages and comparing their values with the table.
```

### Caveat

The README lists collecting as a task but does not describe an export format, so you may need to copy results out of the extension yourself.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/dom-actions-doma/collect-web-data-with-browser-agent/

## How to build and modify DomA from its open-source source code with Doma

Repo: [dom-actions/doma](https://github.com/dom-actions/doma) | Difficulty: Advanced | Time: 1 hour | Basis: From the README

Clone the repo, build it, and run the dev mode to change how the browser agent behaves.

**Who it is for:** A developer who wants a custom browser automation agent based on the open-source DomA core for their own internal use.

**The problem:** A prebuilt extension does not fit a specific workflow, and the developer needs to change the agent's code.

**The outcome:** A locally built DomA extension that includes your changes, loaded into Chrome or Edge for testing.

### Steps

1. Install Node.js 20 or later.
2. Run `git clone https://github.com/dom-actions/doma` and then `cd doma && npm install`.
3. Run `npm run build`, then load dist/desktop/open as an unpacked extension with Developer mode on.
4. Run `npm run dev` to work on the code while developing, and read CONTRIBUTING.md before you send changes.
5. Confirm your change works in the browser and review the PolyForm Shield License terms before distributing or offering a product.

### Prompt to paste into your agent

```text
Clone the dom-actions/doma repo, install dependencies, and run the build so that the output is in dist/desktop/open. Expected output: a built extension folder and a short note of the build result. Verify that dist/desktop/open exists and loads as an unpacked extension in Chrome or Edge.
```

### Caveat

The license forbids using this software or derivatives to provide a product or service that competes with DomA or its commercial edition, so a custom build must be used within those terms.

Risk, remote script: Running npm install pulls third-party packages, so review the dependency list before running the install in a sensitive environment.

Dual-use notice: only use this on software, sites and systems you own or are authorized to test.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/dom-actions-doma/customize-doma-from-source/
