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.

  • v0.0.1-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-0.0.1a0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scopium-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 85aa879462115c684ba600ca520bc473593fead79079d461cce9ff8e9cae17a5
MD5 f291fbc374f3a8c6bf17f45cac56caa5
BLAKE2b-256 5e944e9035f5f1df37932fe03550e0af05bd360f48c05f25c905a4921cca1644

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scopium-0.0.1a0-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-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 c542262beedbe366f06e20c9b5334044854978f3d3961022a177e64bbb37833e
MD5 c1d72752bd17d45edd3718a85f1d788a
BLAKE2b-256 2e7f229c820f549cad1aad168e25f8027995ee042ced01e66629d6463a667330

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