Skip to main content

EasySelenium

A simplified Selenium wrapper library with a clean, chainable API for common browser automation tasks.

Installation

pip install seleasy

Quick Start

from seleasy import EasySelenium

# Initialize with your preferred browser
es = EasySelenium(browser='edge')  # or 'chrome', 'firefox', 'safari'

# Navigate to a URL
es.get('https://www.example.com')

# Wait for and click an element
es.click_element('button', 'text', 'Login', delay=10)

# Type text into an input
es.input_text('input', 'id', 'username', text='myuser')

# Scroll the page
es.roll_move('div', 'class', 'content-area', delta_y=400)

# Get page source
html = es.get_html_source('page.html')

# Parse with BeautifulSoup
soup = es.get_soup()

# Clean up
es.quit()

Features

  • Multi-browser support: Edge, Chrome, Firefox, Safari
  • Smart element location: Find elements by tag + attribute + value
  • Auto-wait: Built-in WebDriverWait with configurable timeout
  • JS clicks: Click via JavaScript to bypass overlay issues
  • Scroll & hover: Mouse wheel scroll, smooth scrollIntoView, hover actions
  • iframe management: Switch into/out of frames with simple API
  • BeautifulSoup integration: Parse page HTML directly
  • Screenshots & page source: Save screenshots and HTML with one line

Supported Browsers

Browser Argument
Edge 'edge'
Chrome 'chrome'
Firefox 'firefox'
Safari 'safari'

Requirements

  • Python 3.8+
  • selenium >= 4.0.0
  • beautifulsoup4 >= 4.9.0
  • A matching WebDriver for your browser (managed automatically by Selenium Manager)

License

MIT

Download files

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

Source Distribution

seleasy-1.0.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

seleasy-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file seleasy-1.0.0.tar.gz.

File metadata

  • Download URL: seleasy-1.0.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.4

File hashes

Hashes for seleasy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e3b2161bd72fbb7f62b18121bd78777ff2987d74380868a39872cb39c2be83ae
MD5 74e2e1742f39f38c97b57c1d0ed8756a
BLAKE2b-256 2d20b94b06dd43402b05fe9f88f0f75672cc6d4cb4c9b683989de1c03a93938d

See more details on using hashes here.

File details

Details for the file seleasy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: seleasy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.4

File hashes

Hashes for seleasy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3efefbeebb4351d380d26f9d24a51771ddbbe19bc09057b7d9049a38b039137
MD5 9a39a7de76990f8b50ca35e4b77b9468
BLAKE2b-256 f5a6a9f2caeb82cb10fc870148fa09aa1cdc439b09819d6a356b2ace8cb22270

See more details on using hashes here.

Supported by

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