OperaGx webdriver with cdc patch.
pip install operagxdriver
Start the Opera WebDriver and return the WebDriver instance.
This function starts the Opera WebDriver, which allows you to automate interactions
with the Opera web browser. It uses the Selenium library and requires the paths to
the Opera browser executable and the Opera WebDriver executable.
Important! A CDC patch (from https://github.com/ultrafunkamsterdam/undetected-chromedriver ) is applied before running the EXE file.
Note: Before running this function, make sure to download the appropriate Opera
WebDriver version that matches your installed Opera browser version.
https://github.com/operasoftware/operachromiumdriver/releases
Args:
opera_browser_exe (str): The file path to the Opera browser executable.
opera_driver_exe (str): The file path to the Opera WebDriver executable.
userdir (str, optional): The user directory for the Opera profile. If provided,
the browser will use this directory to store the user data (cookies, history,
etc.). If not provided, the default profile will be used.
arguments (tuple, optional): Additional command-line arguments to pass to the
Opera WebDriver when launching the browser. Defaults to a tuple containing the
following arguments: (
"--no-sandbox",
"--test-type",
"--no-default-browser-check",
"--no-first-run",
"--incognito",
"--start-maximized",
)
Returns:
selenium.webdriver.remote.webdriver.WebDriver:
The WebDriver instance for the running Opera browser.
Example:
from operagxdriver import start_opera_driver
driver = start_opera_driver(
opera_browser_exe=r"C:\Program Files\Opera GX\opera.exe",
opera_driver_exe=r"C:\Users\hansc\Downloads\operadriver_win64\operadriver.exe",
userdir='c:\\operabrowserprofile',
arguments=(
"--no-sandbox",
"--test-type",
"--no-default-browser-check",
"--no-first-run",
"--incognito",
"--start-maximized",
)
)
Metadata
Release files for operagxdriver 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| operagxdriver-0.10.tar.gz | 4.4 kB | Without provenance | Details for operagxdriver-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| operagxdriver-0.10-py3-none-any.whl | Python 3 | none | any | Details for operagxdriver-0.10-py3-none-any.whl |
Total release size: 10.7 kB
Release files / operagxdriver-0.10.tar.gz
| Download URL | operagxdriver-0.10.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e90e93544614d99ae88bca542a16a9ede093c384690738915d105147b5c2f1ec
|
|
BLAKE2b-256 checksum How to use checksums |
cdc2443b2b3e93a62cee39232e2952ea14d5f4c9eaaf909ea6b639ef438c9691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / operagxdriver-0.10-py3-none-any.whl
| Download URL | operagxdriver-0.10-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
300890bbac3bbfe4d09b48ae2835ed847f70065b64050dfbfb7c6487055829f5
|
|
BLAKE2b-256 checksum How to use checksums |
3c5a702ab62c30491e6f2d075abaa402bfd12cdd344efd34ef6ec414265de976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for operagxdriver 0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.