From bc3bf84236fb9c00b45a02eb72d03e517f69eb72 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Thu, 29 Feb 2024 18:28:37 -0700 Subject: [PATCH] Add browser tool usecase doc Signed-off-by: Daishan Peng --- docs/README-USECASES.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/README-USECASES.md b/docs/README-USECASES.md index ff848ae0..bced7ed2 100644 --- a/docs/README-USECASES.md +++ b/docs/README-USECASES.md @@ -42,7 +42,30 @@ Here is a GPTScript that produces a detailed travel itenirary based on inputs fr ### Web UI Automation -Here is a GPTScript that automates data gathering and analysis of web sites by interacting with a chrome web browser. [Link to example here] +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: + +1. Please install the browsing tool and configure it to operate continuously in the background as a service. + +```sh +git clone https://github.com/gptscript-ai/browser + +cd browser + +npm install + +npm run server +``` + +2. Let's explore a brief example on how to navigate through the Coachella Festival offerings and retrieve ticketing details + +```sh +# Go to the browser repo you just cloned +cd browser + +gpscript ./example/coachella-browse.gpt +``` + +For additional examples, please explore [here](https://github.com/gptscript-ai/browser?tab=readme-ov-file#examples). ### CLI Automation