Skip to main content

AWS Browser Client

Python connector for an HMAC-signed remote Selenium gateway.

Install

Install from PyPI:

python -m pip install aws-browser-client

For local development, install this source directory:

python -m pip install .

Use

import os
from aws_webdriver import connect

driver = connect(
    os.environ["AWS_BROWSER_BASE_URL"],
    os.environ["AWS_BROWSER_API_KEY"],
    os.environ["AWS_BROWSER_SESSION_ID"],
)

try:
    driver.get("https://app.notion.com")
finally:
    driver.quit()

Recommended .env values:

AWS_BROWSER_BASE_URL=https://browser.example.com
AWS_BROWSER_API_KEY=replace-with-generated-key
AWS_BROWSER_SESSION_ID=replace-with-session-id

Never commit API keys or session IDs to source control.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_browser_client-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_browser_client-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file aws_browser_client-0.1.0.tar.gz.

File metadata

  • Download URL: aws_browser_client-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for aws_browser_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a664a999a20a0186cd2cf97fa87b93889fbeabd7eb0d098bfbced4f5e3256ad0
MD5 b92409c0a6b30c6a5b685eb629c981b9
BLAKE2b-256 c6711609aca8da0b0a3ea1c8f03a2dcacf10ff4638a4f8bb17c09d0ade7600ab

See more details on using hashes here.

File details

Details for the file aws_browser_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_browser_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27377fac6707158e3d4fadc500ab469c5956a6188f28500ed42c4306b08bf804
MD5 0aeedb3ed26ded14266f42bbd087cf9a
BLAKE2b-256 4e84c789865b26688a91a042acd21cf24e6b502b9548fabe6624395ae7eef764

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page