seleniumbase 4.31.2__py3-none-any.whl → 4.31.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- seleniumbase/__version__.py +1 -1
- seleniumbase/core/browser_launcher.py +15 -6
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/METADATA +2 -2
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/RECORD +8 -8
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/LICENSE +0 -0
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/WHEEL +0 -0
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/entry_points.txt +0 -0
- {seleniumbase-4.31.2.dist-info → seleniumbase-4.31.3.dist-info}/top_level.txt +0 -0
seleniumbase/__version__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
# seleniumbase package
|
2
|
-
__version__ = "4.31.
|
2
|
+
__version__ = "4.31.3"
|
@@ -2024,6 +2024,7 @@ def _set_firefox_options(
|
|
2024
2024
|
disable_csp,
|
2025
2025
|
firefox_arg,
|
2026
2026
|
firefox_pref,
|
2027
|
+
external_pdf,
|
2027
2028
|
):
|
2028
2029
|
blank_p = "about:blank"
|
2029
2030
|
options = webdriver.FirefoxOptions()
|
@@ -2035,7 +2036,6 @@ def _set_firefox_options(
|
|
2035
2036
|
options.set_preference("browser.newtab.url", blank_p)
|
2036
2037
|
options.set_preference("trailhead.firstrun.branches", "nofirstrun-empty")
|
2037
2038
|
options.set_preference("browser.aboutwelcome.enabled", False)
|
2038
|
-
options.set_preference("pdfjs.disabled", True)
|
2039
2039
|
options.set_preference("app.update.auto", False)
|
2040
2040
|
options.set_preference("app.update.enabled", False)
|
2041
2041
|
options.set_preference("browser.formfill.enable", False)
|
@@ -2122,13 +2122,20 @@ def _set_firefox_options(
|
|
2122
2122
|
options.set_preference(
|
2123
2123
|
"browser.helperApps.neverAsk.saveToDisk",
|
2124
2124
|
(
|
2125
|
-
"application/pdf,
|
2126
|
-
"text/csv,
|
2127
|
-
"text/octet-stream,
|
2128
|
-
"application/"
|
2129
|
-
"
|
2125
|
+
"application/pdf,application/zip,application/octet-stream,"
|
2126
|
+
"text/csv,text/xml,application/xml,text/plain,application/json,"
|
2127
|
+
"text/octet-stream,application/x-gzip,application/x-tar,"
|
2128
|
+
"application/java-archive,text/x-java-source,java,"
|
2129
|
+
"application/javascript,video/jpeg,audio/x-aac,image/svg+xml,"
|
2130
|
+
"application/x-font-woff,application/x-7z-compressed,"
|
2131
|
+
"application/mp4,video/mp4,audio/mp4,video/x-msvideo,"
|
2132
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
2130
2133
|
),
|
2131
2134
|
)
|
2135
|
+
if external_pdf:
|
2136
|
+
options.set_preference("pdfjs.disabled", True)
|
2137
|
+
else:
|
2138
|
+
options.set_preference("pdfjs.disabled", False)
|
2132
2139
|
if firefox_arg:
|
2133
2140
|
# Can be a comma-separated list of Firefox args
|
2134
2141
|
firefox_arg_list = firefox_arg.split(",")
|
@@ -2768,6 +2775,7 @@ def get_remote_driver(
|
|
2768
2775
|
disable_csp,
|
2769
2776
|
firefox_arg,
|
2770
2777
|
firefox_pref,
|
2778
|
+
external_pdf,
|
2771
2779
|
)
|
2772
2780
|
capabilities = webdriver.FirefoxOptions().to_capabilities()
|
2773
2781
|
capabilities["marionette"] = True
|
@@ -3050,6 +3058,7 @@ def get_local_driver(
|
|
3050
3058
|
disable_csp,
|
3051
3059
|
firefox_arg,
|
3052
3060
|
firefox_pref,
|
3061
|
+
external_pdf,
|
3053
3062
|
)
|
3054
3063
|
if LOCAL_GECKODRIVER and os.path.exists(LOCAL_GECKODRIVER):
|
3055
3064
|
try:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.31.
|
3
|
+
Version: 4.31.3
|
4
4
|
Summary: A complete web automation framework for end-to-end testing.
|
5
5
|
Home-page: https://github.com/seleniumbase/SeleniumBase
|
6
6
|
Author: Michael Mintz
|
@@ -110,7 +110,7 @@ Requires-Dist: beautifulsoup4==4.12.3
|
|
110
110
|
Requires-Dist: pyotp==2.9.0
|
111
111
|
Requires-Dist: markdown-it-py==3.0.0
|
112
112
|
Requires-Dist: mdurl==0.1.2
|
113
|
-
Requires-Dist: rich==13.
|
113
|
+
Requires-Dist: rich==13.9.1
|
114
114
|
Requires-Dist: python-xlib==0.33; platform_system == "Linux"
|
115
115
|
Requires-Dist: pyreadline3>=3.5.3; platform_system == "Windows"
|
116
116
|
Requires-Dist: setuptools~=70.2; python_version < "3.10"
|
@@ -3,7 +3,7 @@ sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
|
|
3
3
|
sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
|
4
4
|
seleniumbase/__init__.py,sha256=pXetYtgSNEM2KRcZedpSSqE52Kr3spkOD6DjZO1Wsu4,2236
|
5
5
|
seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
|
6
|
-
seleniumbase/__version__.py,sha256=
|
6
|
+
seleniumbase/__version__.py,sha256=s6WHbeSfAMxF9PkCW7XQeQd6kauHWK1xIlY2Gx2ZHcc,46
|
7
7
|
seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
|
9
9
|
seleniumbase/behave/behave_sb.py,sha256=UDEXex2GkvEok0_FCn-auIREn9OIG6Pc6zVy9S0gtUs,59516
|
@@ -36,7 +36,7 @@ seleniumbase/console_scripts/sb_print.py,sha256=yo641b_OdSE0GUauOyxk-QrNeIjYzbRY
|
|
36
36
|
seleniumbase/console_scripts/sb_recorder.py,sha256=QazacANTQgoc76abAfFUV0d4ja1o-bbsoX9sTPZr_eg,11134
|
37
37
|
seleniumbase/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
seleniumbase/core/application_manager.py,sha256=e_0sjtI8cjY5BNyZj1QBR0j6_oCScxGmSXYEpcYwuZE,576
|
39
|
-
seleniumbase/core/browser_launcher.py,sha256=
|
39
|
+
seleniumbase/core/browser_launcher.py,sha256=WgZ71cY5gWUcejDClBBpWGgYbZdcLkGGGt0OGgKQLGk,205979
|
40
40
|
seleniumbase/core/capabilities_parser.py,sha256=meIS2uHapTCq2ldfNAToC7r0cKmZDRXuYNKExM1GHDY,6038
|
41
41
|
seleniumbase/core/colored_traceback.py,sha256=DrRWfg7XEnKcgY59Xj7Jdk09H-XqHYBSUpB-DiZt6iY,2020
|
42
42
|
seleniumbase/core/create_db_tables.sql,sha256=VWPtrdiW_HQ6yETHjqTu-VIrTwvd8I8o1NfBeaVSHpU,972
|
@@ -126,9 +126,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.bat,sha256=Ftq-GrAKRYH2ssDPr
|
|
126
126
|
seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443QFK8PryBpDmKn5Gy0s4o0vDSM,106
|
127
127
|
seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
128
128
|
seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
|
129
|
-
seleniumbase-4.31.
|
130
|
-
seleniumbase-4.31.
|
131
|
-
seleniumbase-4.31.
|
132
|
-
seleniumbase-4.31.
|
133
|
-
seleniumbase-4.31.
|
134
|
-
seleniumbase-4.31.
|
129
|
+
seleniumbase-4.31.3.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
|
130
|
+
seleniumbase-4.31.3.dist-info/METADATA,sha256=bf6SWfCW_NrVFwyNiFnsd8dz_nP-z0cBmX11Co3_m88,85315
|
131
|
+
seleniumbase-4.31.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
132
|
+
seleniumbase-4.31.3.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
|
133
|
+
seleniumbase-4.31.3.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
|
134
|
+
seleniumbase-4.31.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|