Skip to content

Commit acfe5ee

Browse files
committed
Add browser tool usecase doc
Signed-off-by: Daishan Peng <[email protected]>
1 parent 6126d27 commit acfe5ee

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

docs/README-USECASES.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,30 @@ Here is a GPTScript that produces a detailed travel itenirary based on inputs fr
4242

4343
### Web UI Automation
4444

45-
Here is a GPTScript that automates data gathering and analysis of web sites by interacting with a chrome web browser. [Link to example here]
45+
GPTScript enables the automation of data collection and analysis from websites through seamless interaction with a Chrome web browser. Here's an example to illustrate how it works:
46+
47+
1. Please install the browsing tool and configure it to operate continuously in the background as a service.
48+
49+
```sh
50+
git clone https://github.com/gptscript-ai/browser
51+
52+
cd browser
53+
54+
npm install
55+
56+
npm run server
57+
```
58+
59+
2. Let's explore a brief example on how to navigate through the Coachella Festival offerings and retrieve ticketing details
60+
61+
```sh
62+
# Go to the browser repo you just cloned
63+
cd browser
64+
65+
gpscript ./example/coachella-browse.gpt
66+
```
67+
68+
For additional examples, please explore [here](https://github.com/gptscript-ai/browser?tab=readme-ov-file#examples).
4669

4770
### CLI Automation
4871

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Website
1+
Website
22

33
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
44

0 commit comments

Comments
 (0)