browse-cli


Namebrowse-cli JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryA simple CLI tool to browse the web
upload_time2024-08-09 21:21:56
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # browse-cli

CLI tools to help LLM agents browse the web.
Thin wrapper around playwright's accessibility tree.

Uses code from [webarena](https://github.com/web-arena-x/webarena) to process the accessibility tree.

Usage:

The cli interface assumes implicit context.
To do this, you need to start a server before connecting.


To start the server:
```
browse-start
```

Once the server is started, you can use the rest of the commands.
If the server is not started, they will error when you try to use them.

Browse commands:

To open a URL in the browser:
```
Usage: browse-goto [OPTIONS] URL

  Goes to the url URL

Options:
  --help  Show this message and exit.
```

To click an element:
```
Usage: browse-click [OPTIONS] ID

  Clicks on the element ID

Options:
  --help  Show this message and exit.
```

To type in text and (optionally) hit enter:
```
Usage: browse-type [OPTIONS] ID TEXT

  Types the text TEXT in the element ID

Options:
  --enter
  --help   Show this message and exit.
```

To scroll up or down in the page:
```
Usage: browse-scroll [OPTIONS] {up|down}

  Scrolls the page in the DIRECTION direction

Options:
  --help  Show this message and exit.
```

To navigate in browser history:
```
Usage: browse-navigate [OPTIONS] {back|forward}

  Navigates browser history in the DIRECTION direction

Options:
  --help  Show this message and exit.
```

To view the page contents again:
```
Usage: browse-observe [OPTIONS]

  Observes the page

Options:
  --help  Show this message and exit.
```

To reload the page:
```
Usage: browse-reload [OPTIONS]

  Reloads the page

Options:
  --help  Show this message and exit.
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "browse-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Govind Pimpale <gpimpale29@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "# browse-cli\n\nCLI tools to help LLM agents browse the web.\nThin wrapper around playwright's accessibility tree.\n\nUses code from [webarena](https://github.com/web-arena-x/webarena) to process the accessibility tree.\n\nUsage:\n\nThe cli interface assumes implicit context.\nTo do this, you need to start a server before connecting.\n\n\nTo start the server:\n```\nbrowse-start\n```\n\nOnce the server is started, you can use the rest of the commands.\nIf the server is not started, they will error when you try to use them.\n\nBrowse commands:\n\nTo open a URL in the browser:\n```\nUsage: browse-goto [OPTIONS] URL\n\n  Goes to the url URL\n\nOptions:\n  --help  Show this message and exit.\n```\n\nTo click an element:\n```\nUsage: browse-click [OPTIONS] ID\n\n  Clicks on the element ID\n\nOptions:\n  --help  Show this message and exit.\n```\n\nTo type in text and (optionally) hit enter:\n```\nUsage: browse-type [OPTIONS] ID TEXT\n\n  Types the text TEXT in the element ID\n\nOptions:\n  --enter\n  --help   Show this message and exit.\n```\n\nTo scroll up or down in the page:\n```\nUsage: browse-scroll [OPTIONS] {up|down}\n\n  Scrolls the page in the DIRECTION direction\n\nOptions:\n  --help  Show this message and exit.\n```\n\nTo navigate in browser history:\n```\nUsage: browse-navigate [OPTIONS] {back|forward}\n\n  Navigates browser history in the DIRECTION direction\n\nOptions:\n  --help  Show this message and exit.\n```\n\nTo view the page contents again:\n```\nUsage: browse-observe [OPTIONS]\n\n  Observes the page\n\nOptions:\n  --help  Show this message and exit.\n```\n\nTo reload the page:\n```\nUsage: browse-reload [OPTIONS]\n\n  Reloads the page\n\nOptions:\n  --help  Show this message and exit.\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple CLI tool to browse the web",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/pimpale/browse-cli"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a80858c15e19dd1977825970c4c587a694fbb9955e19862fcfaa8c1bcb833c61",
                "md5": "0ea6c68aeaebc19856633857f436ac54",
                "sha256": "8491df4e3e1c121e4bd615bbebe2e88a3ed275554a37d188b5c01d27956fc2a2"
            },
            "downloads": -1,
            "filename": "browse_cli-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0ea6c68aeaebc19856633857f436ac54",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9713,
            "upload_time": "2024-08-09T21:21:56",
            "upload_time_iso_8601": "2024-08-09T21:21:56.285101Z",
            "url": "https://files.pythonhosted.org/packages/a8/08/58c15e19dd1977825970c4c587a694fbb9955e19862fcfaa8c1bcb833c61/browse_cli-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-09 21:21:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pimpale",
    "github_project": "browse-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "browse-cli"
}
        
Elapsed time: 0.34555s