seleniumbase 4.36.1__py3-none-any.whl → 4.36.3__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.
@@ -1,2 +1,2 @@
1
1
  # seleniumbase package
2
- __version__ = "4.36.1"
2
+ __version__ = "4.36.3"
@@ -54,7 +54,7 @@ IS_WINDOWS = shared_utils.is_windows()
54
54
  DRIVER_DIR = os.path.dirname(os.path.realpath(drivers.__file__))
55
55
  LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems
56
56
  DEFAULT_CHROMEDRIVER_VERSION = "114.0.5735.90" # (If can't find LATEST_STABLE)
57
- DEFAULT_GECKODRIVER_VERSION = "v0.35.0"
57
+ DEFAULT_GECKODRIVER_VERSION = "v0.36.0"
58
58
  DEFAULT_EDGEDRIVER_VERSION = "115.0.1901.183" # (If can't find LATEST_STABLE)
59
59
 
60
60
 
@@ -1296,7 +1296,10 @@ def main(override=None, intel_for_uc=None, force_uc=None):
1296
1296
  if os.path.exists(new_file):
1297
1297
  os.remove(new_file) # Technically the old file now
1298
1298
  log_d("Extracting %s from %s ..." % (contents, file_name))
1299
- tar.extractall(downloads_folder)
1299
+ if sys.version_info < (3, 12):
1300
+ tar.extractall(downloads_folder)
1301
+ else:
1302
+ tar.extractall(downloads_folder, filter="fully_trusted")
1300
1303
  tar.close()
1301
1304
  os.remove(tar_file_path)
1302
1305
  log_d("%sUnzip Complete!%s\n" % (c2, cr))
@@ -3993,6 +3993,7 @@ class BaseCase(unittest.TestCase):
3993
3993
  d_width=None,
3994
3994
  d_height=None,
3995
3995
  d_p_r=None,
3996
+ **kwargs,
3996
3997
  ):
3997
3998
  """This method spins up an extra browser for tests that require
3998
3999
  more than one. The first browser is already provided by tests
@@ -4081,6 +4082,11 @@ class BaseCase(unittest.TestCase):
4081
4082
  " for examples!)"
4082
4083
  % (browserstack_ref, sauce_labs_ref)
4083
4084
  )
4085
+ shortcuts = ["dark", "guest", "locale", "mobile", "pls", "uc", "wire"]
4086
+ if kwargs:
4087
+ for key in kwargs.keys():
4088
+ if key not in shortcuts:
4089
+ raise TypeError("Unexpected keyword argument '%s'" % key)
4084
4090
  if browser is None:
4085
4091
  browser = self.browser
4086
4092
  browser_name = browser
@@ -4088,6 +4094,8 @@ class BaseCase(unittest.TestCase):
4088
4094
  headless = self.headless
4089
4095
  if locale_code is None:
4090
4096
  locale_code = self.locale_code
4097
+ if "locale" in kwargs and not locale_code:
4098
+ locale_code = kwargs["locale"]
4091
4099
  if protocol is None:
4092
4100
  protocol = self.protocol
4093
4101
  if servername is None:
@@ -4130,6 +4138,8 @@ class BaseCase(unittest.TestCase):
4130
4138
  uc_cdp_events = self.uc_cdp_events
4131
4139
  if uc_subprocess is None:
4132
4140
  uc_subprocess = self.uc_subprocess
4141
+ if "uc" in kwargs and not undetectable:
4142
+ undetectable = kwargs["uc"]
4133
4143
  if log_cdp_events is None:
4134
4144
  log_cdp_events = self.log_cdp_events
4135
4145
  if no_sandbox is None:
@@ -4144,8 +4154,12 @@ class BaseCase(unittest.TestCase):
4144
4154
  incognito = self.incognito
4145
4155
  if guest_mode is None:
4146
4156
  guest_mode = self.guest_mode
4157
+ if "guest" in kwargs and not guest_mode:
4158
+ guest_mode = kwargs["guest"]
4147
4159
  if dark_mode is None:
4148
4160
  dark_mode = self.dark_mode
4161
+ if "dark" in kwargs and not dark_mode:
4162
+ dark_mode = kwargs["dark"]
4149
4163
  if devtools is None:
4150
4164
  devtools = self.devtools
4151
4165
  if remote_debug is None:
@@ -4182,8 +4196,12 @@ class BaseCase(unittest.TestCase):
4182
4196
  driver_version = self.driver_version
4183
4197
  if page_load_strategy is None:
4184
4198
  page_load_strategy = self.page_load_strategy
4199
+ if "pls" in kwargs and not page_load_strategy:
4200
+ page_load_strategy = kwargs["pls"]
4185
4201
  if use_wire is None:
4186
4202
  use_wire = self.use_wire
4203
+ if "wire" in kwargs and not use_wire:
4204
+ use_wire = kwargs["wire"]
4187
4205
  if external_pdf is None:
4188
4206
  external_pdf = self.external_pdf
4189
4207
  test_id = self.__get_test_id()
@@ -4193,6 +4211,8 @@ class BaseCase(unittest.TestCase):
4193
4211
  cap_string = self.cap_string
4194
4212
  if is_mobile is None:
4195
4213
  is_mobile = self.mobile_emulator
4214
+ if "mobile" in kwargs and not is_mobile:
4215
+ is_mobile = kwargs["mobile"]
4196
4216
  if d_width is None:
4197
4217
  d_width = self.__device_width
4198
4218
  if d_height is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seleniumbase
3
- Version: 4.36.1
3
+ Version: 4.36.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
@@ -62,7 +62,7 @@ License-File: LICENSE
62
62
  Requires-Dist: pip>=25.0.1
63
63
  Requires-Dist: packaging>=24.2
64
64
  Requires-Dist: setuptools~=70.2; python_version < "3.10"
65
- Requires-Dist: setuptools>=77.0.3; python_version >= "3.10"
65
+ Requires-Dist: setuptools>=78.1.0; python_version >= "3.10"
66
66
  Requires-Dist: wheel>=0.45.1
67
67
  Requires-Dist: attrs>=25.3.0
68
68
  Requires-Dist: certifi>=2025.1.31
@@ -76,7 +76,7 @@ Requires-Dist: mycdp>=1.1.1
76
76
  Requires-Dist: pynose>=1.5.4
77
77
  Requires-Dist: platformdirs>=4.3.6; python_version < "3.9"
78
78
  Requires-Dist: platformdirs>=4.3.7; python_version >= "3.9"
79
- Requires-Dist: typing-extensions>=4.12.2
79
+ Requires-Dist: typing-extensions>=4.13.0
80
80
  Requires-Dist: sbvirtualdisplay>=1.4.0
81
81
  Requires-Dist: MarkupSafe==2.1.5; python_version < "3.9"
82
82
  Requires-Dist: MarkupSafe>=3.0.2; python_version >= "3.9"
@@ -89,7 +89,7 @@ Requires-Dist: pyyaml>=6.0.2
89
89
  Requires-Dist: pygments>=2.19.1
90
90
  Requires-Dist: pyreadline3>=3.5.3; platform_system == "Windows"
91
91
  Requires-Dist: tabcompleter>=1.4.0
92
- Requires-Dist: pdbp>=1.6.1
92
+ Requires-Dist: pdbp>=1.7.0
93
93
  Requires-Dist: idna==3.10
94
94
  Requires-Dist: chardet==5.2.0
95
95
  Requires-Dist: charset-normalizer==3.4.1
@@ -149,9 +149,11 @@ Provides-Extra: ipdb
149
149
  Requires-Dist: ipdb==0.13.13; extra == "ipdb"
150
150
  Requires-Dist: ipython==7.34.0; extra == "ipdb"
151
151
  Provides-Extra: mss
152
- Requires-Dist: mss==9.0.2; extra == "mss"
152
+ Requires-Dist: mss==9.0.2; python_version < "3.9" and extra == "mss"
153
+ Requires-Dist: mss==10.0.0; python_version >= "3.9" and extra == "mss"
153
154
  Provides-Extra: pdfminer
154
- Requires-Dist: pdfminer.six==20240706; extra == "pdfminer"
155
+ Requires-Dist: pdfminer.six==20250324; python_version < "3.9" and extra == "pdfminer"
156
+ Requires-Dist: pdfminer.six==20250327; python_version >= "3.9" and extra == "pdfminer"
155
157
  Requires-Dist: cryptography==39.0.2; python_version < "3.9" and extra == "pdfminer"
156
158
  Requires-Dist: cryptography==44.0.2; python_version >= "3.9" and extra == "pdfminer"
157
159
  Requires-Dist: cffi==1.17.1; extra == "pdfminer"
@@ -3,7 +3,7 @@ sbase/__main__.py,sha256=G0bVB1-DM4PGwQ1KyOupaWCs4ePbChZNNWuX2htim5U,647
3
3
  sbase/steps.py,sha256=_WvAjydKqZfTdnZW9LPKkRty-g-lfdUPmLqnZj6ulcs,43013
4
4
  seleniumbase/__init__.py,sha256=JFEY9P5QJqsa1M6ghzLMH2eIPQyh85iglCaQwg8Y8z4,2498
5
5
  seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
6
- seleniumbase/__version__.py,sha256=YQgxEdz-yaSHeBbdbR5IDhKw8U0R8ygphayfDm_O-7c,46
6
+ seleniumbase/__version__.py,sha256=xvPsqGZKQAQXiz8z1Hm_3s3iQwLaLW08OI7QGKYtkgw,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=qQF85LoohJBfrPK5ZcPi50v-pWtOrC9qcN1B3Ki_3tY,59401
@@ -25,7 +25,7 @@ seleniumbase/console_scripts/run.py,sha256=6Q9kbpOY40kTczcQVrD-x6thb3QO9-2wfse7D
25
25
  seleniumbase/console_scripts/sb_behave_gui.py,sha256=3Zl7_QQczvkkQW_UuaqYEUlEjiZ6AJzHR9GeNyVVXkc,15147
26
26
  seleniumbase/console_scripts/sb_caseplans.py,sha256=qlmvjQ49bOBE1Q29fVmabimkVibCVr25GNtJhFPTMrc,18145
27
27
  seleniumbase/console_scripts/sb_commander.py,sha256=exQGKzqRAoGqRmQtDmlmoHnSG9eSy9eh8HVy-tXw6s4,13343
28
- seleniumbase/console_scripts/sb_install.py,sha256=RdByOmTQebibRFk5ym-FtFr0Gf91_ZfOsBB2MN5izUc,55524
28
+ seleniumbase/console_scripts/sb_install.py,sha256=PUVOlajP43t0tf7fDLntYdOMGN4Ez7K5aDgXyyIZYYk,55662
29
29
  seleniumbase/console_scripts/sb_mkchart.py,sha256=ep9g-9CSIwaOJKVxhB3xjRQpfsuApyN8-Dr129cNXwQ,10941
30
30
  seleniumbase/console_scripts/sb_mkdir.py,sha256=iFN6ZMOgmH_GAvEuvzYltWuYiS3PRFQcL5fJIj1yX_Y,30897
31
31
  seleniumbase/console_scripts/sb_mkfile.py,sha256=OWYd4yFccmjrd-gNn1t1una-HDRU2_N2-r4Tg3nHsj0,17744
@@ -65,7 +65,7 @@ seleniumbase/extensions/disable_csp.zip,sha256=5RvomXnm2PdivUVcxTV6jfvD8WhTEsQYH
65
65
  seleniumbase/extensions/recorder.zip,sha256=OOyzF-Ize2cSRu1CqhzSAq5vusI9hqLLd2OIApUHesI,11918
66
66
  seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
67
67
  seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- seleniumbase/fixtures/base_case.py,sha256=wHlPIN7B84mjXHd_um_0AFlnwQf8c7DCeJ7uY-rpLJY,724427
68
+ seleniumbase/fixtures/base_case.py,sha256=xkdMH172rqMbdW9Y7foBXrb5SxwpFAbwBmmi4Y4QuaU,725334
69
69
  seleniumbase/fixtures/constants.py,sha256=WMrItuNyKq3XVJ64NluLIRc4gJCxDw8K8qXED0b9S2w,13752
70
70
  seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
71
71
  seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
@@ -135,9 +135,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.bat,sha256=Ftq-GrAKRYH2ssDPr
135
135
  seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443QFK8PryBpDmKn5Gy0s4o0vDSM,106
136
136
  seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
137
  seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
138
- seleniumbase-4.36.1.dist-info/licenses/LICENSE,sha256=BRblZsX7HyPUjQmYTiyWr_e9tzWvmR3R4SFclM2R3W0,1085
139
- seleniumbase-4.36.1.dist-info/METADATA,sha256=8ecwJPQ5KzF_7zRdVr6glDudsbtC1RdB5f2zcjsyKVE,86819
140
- seleniumbase-4.36.1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
141
- seleniumbase-4.36.1.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
142
- seleniumbase-4.36.1.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
143
- seleniumbase-4.36.1.dist-info/RECORD,,
138
+ seleniumbase-4.36.3.dist-info/licenses/LICENSE,sha256=BRblZsX7HyPUjQmYTiyWr_e9tzWvmR3R4SFclM2R3W0,1085
139
+ seleniumbase-4.36.3.dist-info/METADATA,sha256=bIcCu21s1A6KiIisckC7gbuDkaTV4gXSTCU8yNdCY6M,87031
140
+ seleniumbase-4.36.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
141
+ seleniumbase-4.36.3.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
142
+ seleniumbase-4.36.3.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
143
+ seleniumbase-4.36.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5