Skip to content

babelcloud/gbox-sdk-alpha

Repository files navigation

⚠️ Warning: This is a demo purpose SDK to work with https://alpha.gbox.cloud. This SDK will be deprecated once the official gbox SDK enables gbox.cloud.

Prerequisites

Before running the examples, make sure you have the following installed:

  • Node.js >= 16.0.0 (LTS version recommended)
  • npm (comes with Node.js)
  • Git

How to use

Step 1: Get your API Key

  1. Visit https://alpha.gbox.cloud/api-keys
  2. Get your GBOX API KEY

Step 2: Run the example

git clone git@github.com:babelcloud/gbox-sdk-alpha.git

# Install dependencies
cd gbox-sdk-alpha/example && npm i

# Update up your GBOX API KEY on .env file
# mac/linux: 
echo "GBOX_API_KEY=your_key_here" >> .env
# win(cmd): 
echo GBOX_API_KEY=your_key_here >> .env
# win(powershell)
Add-Content -Path .env -Value "GBOX_API_KEY=your_key_here"

# Run the android gbox example
npm run start:android

# Run the terminal gbox
npm run start:terminal

Then, you will see the Android interface automatically simulate E2E testing, such as clicking, typing, and searching operations.

Enjoy your android simulator!

Screenshot

  • Click and type text Click and type

  • Before drag

Before Drag

  • After drag

After Drag

TODO

  • Google search E2E
  • Work with OpenAI computer use

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •