seleniumbase 4.27.0__py3-none-any.whl → 4.27.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.
@@ -1,2 +1,2 @@
1
1
  # seleniumbase package
2
- __version__ = "4.27.0"
2
+ __version__ = "4.27.2"
@@ -3728,7 +3728,15 @@ class BaseCase(unittest.TestCase):
3728
3728
  """Opens a new browser tab/window and switches to it by default."""
3729
3729
  self.wait_for_ready_state_complete()
3730
3730
  if switch_to:
3731
- self.driver.switch_to.new_window("tab")
3731
+ if self.undetectable:
3732
+ self.driver.execute_script("window.open('data:,');")
3733
+ self.switch_to_newest_window()
3734
+ else:
3735
+ try:
3736
+ self.driver.switch_to.new_window("tab")
3737
+ except Exception:
3738
+ self.driver.execute_script("window.open('');")
3739
+ self.switch_to_newest_window()
3732
3740
  else:
3733
3741
  self.driver.execute_script("window.open('');")
3734
3742
  time.sleep(0.01)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: seleniumbase
3
- Version: 4.27.0
3
+ Version: 4.27.2
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
@@ -61,7 +61,7 @@ License-File: LICENSE
61
61
  Requires-Dist: pip >=24.0
62
62
  Requires-Dist: packaging >=24.0
63
63
  Requires-Dist: attrs >=23.2.0
64
- Requires-Dist: certifi >=2024.2.2
64
+ Requires-Dist: certifi >=2024.6.2
65
65
  Requires-Dist: exceptiongroup >=1.2.1
66
66
  Requires-Dist: parse >=1.20.1
67
67
  Requires-Dist: parse-type >=0.6.2
@@ -112,16 +112,16 @@ Requires-Dist: soupsieve ==2.4.1 ; python_version < "3.8"
112
112
  Requires-Dist: pygments ==2.17.2 ; python_version < "3.8"
113
113
  Requires-Dist: markdown-it-py ==2.2.0 ; python_version < "3.8"
114
114
  Requires-Dist: urllib3 <2.3.0,>=1.26.18 ; python_version >= "3.10"
115
- Requires-Dist: setuptools >=69.5.1 ; python_version >= "3.8"
115
+ Requires-Dist: setuptools >=70.0.0 ; python_version >= "3.8"
116
116
  Requires-Dist: wheel >=0.43.0 ; python_version >= "3.8"
117
117
  Requires-Dist: filelock >=3.14.0 ; python_version >= "3.8"
118
118
  Requires-Dist: platformdirs >=4.2.2 ; python_version >= "3.8"
119
- Requires-Dist: typing-extensions >=4.11.0 ; python_version >= "3.8"
119
+ Requires-Dist: typing-extensions >=4.12.1 ; python_version >= "3.8"
120
120
  Requires-Dist: trio ==0.25.1 ; python_version >= "3.8"
121
121
  Requires-Dist: selenium ==4.21.0 ; python_version >= "3.8"
122
122
  Requires-Dist: execnet ==2.1.1 ; python_version >= "3.8"
123
123
  Requires-Dist: pluggy ==1.5.0 ; python_version >= "3.8"
124
- Requires-Dist: pytest ==8.2.0 ; python_version >= "3.8"
124
+ Requires-Dist: pytest ==8.2.2 ; python_version >= "3.8"
125
125
  Requires-Dist: pytest-metadata ==3.1.1 ; python_version >= "3.8"
126
126
  Requires-Dist: pytest-rerunfailures ==14.0 ; python_version >= "3.8"
127
127
  Requires-Dist: pytest-xdist ==3.6.1 ; python_version >= "3.8"
@@ -135,7 +135,7 @@ Requires-Dist: allure-behave >=2.13.5 ; extra == 'allure'
135
135
  Provides-Extra: coverage
136
136
  Requires-Dist: coverage ==7.2.7 ; (python_version < "3.8") and extra == 'coverage'
137
137
  Requires-Dist: pytest-cov ==4.1.0 ; (python_version < "3.8") and extra == 'coverage'
138
- Requires-Dist: coverage >=7.5.1 ; (python_version >= "3.8") and extra == 'coverage'
138
+ Requires-Dist: coverage >=7.5.3 ; (python_version >= "3.8") and extra == 'coverage'
139
139
  Requires-Dist: pytest-cov >=5.0.0 ; (python_version >= "3.8") and extra == 'coverage'
140
140
  Provides-Extra: flake8
141
141
  Requires-Dist: mccabe ==0.7.0 ; extra == 'flake8'
@@ -155,7 +155,7 @@ Requires-Dist: cffi ==1.15.1 ; (python_version < "3.8") and extra == 'pdfminer'
155
155
  Requires-Dist: cryptography ==39.0.2 ; (python_version < "3.9") and extra == 'pdfminer'
156
156
  Requires-Dist: pdfminer.six ==20231228 ; (python_version >= "3.8") and extra == 'pdfminer'
157
157
  Requires-Dist: cffi ==1.16.0 ; (python_version >= "3.8") and extra == 'pdfminer'
158
- Requires-Dist: cryptography ==42.0.7 ; (python_version >= "3.9") and extra == 'pdfminer'
158
+ Requires-Dist: cryptography ==42.0.8 ; (python_version >= "3.9") and extra == 'pdfminer'
159
159
  Provides-Extra: pillow
160
160
  Requires-Dist: Pillow ==9.5.0 ; (python_version < "3.8") and extra == 'pillow'
161
161
  Requires-Dist: Pillow >=10.3.0 ; (python_version >= "3.8") and extra == 'pillow'
@@ -5,7 +5,7 @@ sbase/steps.py,sha256=bKT_u5bJkKzYWEuAXi9NVVRYYxQRCM1_YJUrNFFRVPY,42865
5
5
  seleniumbase/ReadMe.md,sha256=4nEdto4d0Ch0Zneg0yAC-RBBdqRqPUP0SCo-ze_XDPM,3612
6
6
  seleniumbase/__init__.py,sha256=Mw4ShIWUF2Efjx-JuwUQLWF9nIbxcX-vu9AOGBp32ec,2123
7
7
  seleniumbase/__main__.py,sha256=dn1p6dgCchmcH1zzTzzQvFwwdQQqnTGH6ULV9m4hv24,654
8
- seleniumbase/__version__.py,sha256=gq-c9L8g2riz89KLUv51q7uL-IWfLjHq1GH96dLVBEQ,46
8
+ seleniumbase/__version__.py,sha256=NMI1TY_3i4syHD3J8bxa4tVUKK9pprfYrAaoJUSmNp8,46
9
9
  seleniumbase/behave/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  seleniumbase/behave/behave_helper.py,sha256=elkl8P9eLulRAioLstE9baYNM9N_PHBmAOcajX-pH_Y,24198
11
11
  seleniumbase/behave/behave_sb.py,sha256=rpSKGufjzKeoiTqsr1HChNu1fY68CMirr5mgff--LHs,56291
@@ -70,7 +70,7 @@ seleniumbase/extensions/disable_csp.zip,sha256=YMifIIgEBiLrEFrS1sfW4Exh4br1V4oK1
70
70
  seleniumbase/extensions/recorder.zip,sha256=dE3-vt1lsIyMbz3MD0WboizA5KiR3SH2jxAMrC0T_cU,11908
71
71
  seleniumbase/extensions/sbase_ext.zip,sha256=3s1N8zrVaMz8RQEOIoBzC3KDjtmHwVZRvVsX25Odr_s,8175
72
72
  seleniumbase/fixtures/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
- seleniumbase/fixtures/base_case.py,sha256=gVAc8T9TlSJ9UySEldWZBiVm1GS3-mv_HK25XygHcdY,693568
73
+ seleniumbase/fixtures/base_case.py,sha256=2kIcm1rRnwbSNuPne2qGgE0iNC9gUsC_oFVCnctOwCk,693917
74
74
  seleniumbase/fixtures/constants.py,sha256=jOPy8CuR-QEK2hTv06cKZHaCNgGoFmtNHkvhR6mD7sg,13410
75
75
  seleniumbase/fixtures/css_to_xpath.py,sha256=9ouDB1xl4MJ2os6JOgTIAyHKOQfuxtxvXC3O5hSnEKA,1954
76
76
  seleniumbase/fixtures/errors.py,sha256=KyxuEVx_e3MPhVrJfNIa_3ltMpbCFxfy_jxK8RFNTns,555
@@ -137,9 +137,9 @@ seleniumbase/utilities/selenium_grid/start-grid-hub.sh,sha256=KADv0RUHONLL2_I443
137
137
  seleniumbase/utilities/selenium_ide/ReadMe.md,sha256=hznGeuMpkIimqMiZBW-4goIy2ltW4l8X9kb0YSPUQfE,4483
138
138
  seleniumbase/utilities/selenium_ide/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
139
  seleniumbase/utilities/selenium_ide/convert_ide.py,sha256=pZFnqEJQEKZPyNFjkLD29s2HPQgCrWW9XJWpCPhWOoM,31691
140
- seleniumbase-4.27.0.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
- seleniumbase-4.27.0.dist-info/METADATA,sha256=xW1f8Yg4uOmDdw1dZT_XcV2pZ64qV_m5DX3ApW7rQr8,85172
142
- seleniumbase-4.27.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
- seleniumbase-4.27.0.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
- seleniumbase-4.27.0.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
- seleniumbase-4.27.0.dist-info/RECORD,,
140
+ seleniumbase-4.27.2.dist-info/LICENSE,sha256=odSYtWibXBnQ1gBg6CnDZ82n8kLF_if5-2nbqnEyD8k,1085
141
+ seleniumbase-4.27.2.dist-info/METADATA,sha256=UORBsZteLYjZAKIH-rAIOb1JG3F3cwdSSyLKTZNGk4g,85172
142
+ seleniumbase-4.27.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
143
+ seleniumbase-4.27.2.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
144
+ seleniumbase-4.27.2.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
145
+ seleniumbase-4.27.2.dist-info/RECORD,,