Skip to main content
The MobileBoost SDK for Appium drops into your existing Python Appium suite. Your code-based tests run first, and AI kicks in as a fallback when a step fails.

Prerequisites

Install Appium and the platform drivers:
# Install Appium
npm install -g appium

# Install drivers
appium driver install xcuitest      # iOS
appium driver install uiautomator2  # Android

Installation

pip install gptdriver-client
To upgrade to the latest version:
pip install --upgrade gptdriver-client

Configuration

Create a GptDriver instance with your API key:
from gptdriver_client import GptDriver

gptd = GptDriver(
    api_key="YOUR_API_KEY",
    platform="android",
    device_name="Pixel 7",
    platform_version="15.0",
)
Or pass an existing Appium driver:
from gptdriver_client import GptDriver
from appium import webdriver

driver = webdriver.Remote(
    command_executor="http://127.0.0.1:4723",
    options=options
)

gptd = GptDriver(
    api_key="YOUR_API_KEY",
    driver=driver
)

Start the Appium server

Before running tests, start the Appium server:
appium

Next steps

Reference

AI commands, self healing, and caching.

Examples

Worked examples, including PyTest.