setup-selenium-testing 1.0.0__py3-none-any.whl → 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- setup_selenium/setup_selenium.py +4 -4
- {setup_selenium_testing-1.0.0.dist-info → setup_selenium_testing-1.0.2.dist-info}/METADATA +16 -1
- setup_selenium_testing-1.0.2.dist-info/RECORD +7 -0
- {setup_selenium_testing-1.0.0.dist-info → setup_selenium_testing-1.0.2.dist-info}/WHEEL +1 -1
- setup_selenium_testing-1.0.0.dist-info/RECORD +0 -7
- {setup_selenium_testing-1.0.0.dist-info → setup_selenium_testing-1.0.2.dist-info}/LICENSE +0 -0
setup_selenium/setup_selenium.py
CHANGED
@@ -5,7 +5,7 @@ from __future__ import annotations
|
|
5
5
|
import logging
|
6
6
|
import os as os
|
7
7
|
from enum import Enum
|
8
|
-
from typing import TYPE_CHECKING,
|
8
|
+
from typing import TYPE_CHECKING, Union
|
9
9
|
|
10
10
|
from selenium import __version__, webdriver
|
11
11
|
from selenium.webdriver.chrome.service import Service as ChromeService
|
@@ -171,7 +171,7 @@ class SetupSelenium:
|
|
171
171
|
log_dir: str = "./logs",
|
172
172
|
binary: str | None = None,
|
173
173
|
driver_path: str | None = None,
|
174
|
-
options:
|
174
|
+
options: T_DrvOpts | None = None,
|
175
175
|
) -> T_WebDriver:
|
176
176
|
"""Instantiates the browser driver"""
|
177
177
|
browser = browser.lower()
|
@@ -325,7 +325,7 @@ class SetupSelenium:
|
|
325
325
|
"--force-color-profile=srgb",
|
326
326
|
"--metrics-recording-only",
|
327
327
|
"--mute-audio",
|
328
|
-
"--remote-debugging-pipe",
|
328
|
+
# "--remote-debugging-pipe", # noqa: ERA001
|
329
329
|
# fixes MUI fade issue
|
330
330
|
"--disable-renderer-backgrounding",
|
331
331
|
# fixes actionchains in headless
|
@@ -482,7 +482,7 @@ class SetupSelenium:
|
|
482
482
|
"--force-color-profile=srgb",
|
483
483
|
"--metrics-recording-only",
|
484
484
|
"--mute-audio",
|
485
|
-
"--remote-debugging-pipe",
|
485
|
+
# "--remote-debugging-pipe", # noqa: ERA001
|
486
486
|
# fixes MUI fade issue
|
487
487
|
"--disable-renderer-backgrounding",
|
488
488
|
# fixes actionchains in headless
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: setup-selenium-testing
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: Setup Selenium for automation testing
|
5
5
|
License: MIT
|
6
6
|
Author: Marcel Wilson
|
@@ -142,3 +142,18 @@ and use that.
|
|
142
142
|
Passing a valid `binary_path` will not trigger any download of the browser.
|
143
143
|
Passing a valid `driver_path` will not trigger any download of the webdriver.
|
144
144
|
|
145
|
+
|
146
|
+
CHANGELOG
|
147
|
+
---------
|
148
|
+
### version 1.0.2
|
149
|
+
|
150
|
+
- removed python 3.8 support
|
151
|
+
|
152
|
+
### version 1.0.1
|
153
|
+
|
154
|
+
- removed `--remote-debugging-pipe` from default chrome options (causes older chrome to crash)
|
155
|
+
|
156
|
+
### version 1.0.0
|
157
|
+
|
158
|
+
- official release
|
159
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
setup_selenium/__init__.py,sha256=-w9Vvo72ZLaEyIEfc_Nh0bDDJz9W0pOy4rkRXurIJHI,63
|
2
|
+
setup_selenium/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
setup_selenium/setup_selenium.py,sha256=qqnq-jErsovCJW2qMyx2mtNUqVl-h_VQXGh8Vzh4uJM,21857
|
4
|
+
setup_selenium_testing-1.0.2.dist-info/LICENSE,sha256=KGdE-1D1chm3UNFtfE8x-EpVxhmv2zFx8oltbO8M1qE,1070
|
5
|
+
setup_selenium_testing-1.0.2.dist-info/METADATA,sha256=iIGM3X1I_PlyFcXL7lHpRlYzcNPeIsdTD4YgpXKRFf0,6071
|
6
|
+
setup_selenium_testing-1.0.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
7
|
+
setup_selenium_testing-1.0.2.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
setup_selenium/__init__.py,sha256=-w9Vvo72ZLaEyIEfc_Nh0bDDJz9W0pOy4rkRXurIJHI,63
|
2
|
-
setup_selenium/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
setup_selenium/setup_selenium.py,sha256=6IijZ0maMo7t3_W1vUyn0l2SnEi8vsZoVZRUeQmu5kA,21834
|
4
|
-
setup_selenium_testing-1.0.0.dist-info/LICENSE,sha256=KGdE-1D1chm3UNFtfE8x-EpVxhmv2zFx8oltbO8M1qE,1070
|
5
|
-
setup_selenium_testing-1.0.0.dist-info/METADATA,sha256=N0t4a2Zf4wGPcc6lVTtdpFDlSDQ2QsgCUF1lhsP6Kjs,5847
|
6
|
-
setup_selenium_testing-1.0.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
7
|
-
setup_selenium_testing-1.0.0.dist-info/RECORD,,
|
File without changes
|