Skip to main content

No project description provided

Project description

Scopium.

Scopium is a Python-based tool designed to automate the process of running Selenium-supported browsers handling their complicated setup. It focuses on key aspects like;

  • Compatibility: Works with different browsers and versions.
  • Performance: Fast and doesn't waste resources.
  • Reliability: Works without errors most of the time.

With an emphasis on ensuring stability. The goal is to make browser automation smoother and more consistent, helping users automate their tasks without worrying about frequent errors or crashes. Currently, there's not much customization and options, that will be added with a good OOP structure.

Support (not final).

  • Windows 10/11.
  • Selenium 4.x.
  • Chrome, Edge, and Opera browsers.
  • Python 3.8+.

Currently, using Opera might raise some errors;
Working on fixing this as soon as possible.

Installation.

pip install scopium

Usage.

from scopium import Scopium

# Initialize and launch Chrome (headless mode)
driver = Scopium("Chrome").run()

# Navigate to a website
driver.get("https://example.com")

# Close the browser when done
driver.quit()

Example with different browsers:

chrome_driver = Scopium("Chrome").run()
edge_driver   = Scopium("Edge").run()
opera_driver  = Scopium("Opera").run()

Using unsupported browser will raise UnsupportedBrowser error.
Can be imported through:

from scopium.exceptions import UnsupportedBrowser

In default, browser will run in headless mode. To disable this:

driver = Scopium("Chrome", headless=False).run()

Default configuration:

  • Runs in headless mode.
  • Window size: 1920x1080 (when headless).
  • Logging disabled.
  • Browser optimizations enabled.
  • Automation flags hidden.

See launcher.py Scopium._add_options function for full details.

Tests.

The project is tested on Windows 11, Python 3.10.11.
More tests soon Inshallah.

Versioning.

  • v1.0.0-alpha: First release.

Project details


Download files

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

Source Distribution

scopium-1.0.0a0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

scopium-1.0.0a0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file scopium-1.0.0a0.tar.gz.

File metadata

  • Download URL: scopium-1.0.0a0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for scopium-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 c55ff313cfeaf476d4bce73944a0256a9faa3389d663250da8f99cad30453876
MD5 287de241428691f803831926281961c7
BLAKE2b-256 d74d14b68963ca9d29083142b2574e056499b0a7433e7336782ac439cae31bf3

See more details on using hashes here.

File details

Details for the file scopium-1.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: scopium-1.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for scopium-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 43ff380f320c0a836355f2f105311e37b977ac086c580dc55ed2f75e325c3561
MD5 c5c5aef1ed1d9b2ac3b4cd33f7337c39
BLAKE2b-256 66ccf9833a2e0ce26973d7fb35169cb65fa4d55607b601142ad666b6d2b52f8d

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