seleniumbase 4.36.3__py3-none-any.whl → 4.36.5__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.3"
2
+ __version__ = "4.36.5"
@@ -92,5 +92,5 @@ class S3LoggingBucket(object):
92
92
  """Keep a record of all file names that have been uploaded.
93
93
  Upload log files related to each test after its execution.
94
94
  Once done, use already_uploaded_files to create an index file."""
95
- global already_uploaded_files
95
+ global already_uploaded_files # noqa
96
96
  already_uploaded_files.extend(files)
@@ -1614,6 +1614,8 @@ class CDPMethods():
1614
1614
  pyautogui.dragTo(x2, y2, button="left", duration=timeframe)
1615
1615
 
1616
1616
  def gui_drag_drop_points(self, x1, y1, x2, y2, timeframe=0.35):
1617
+ """Use PyAutoGUI to drag-and-drop from one point to another.
1618
+ Can simulate click-and-hold when using the same point twice."""
1617
1619
  gui_lock = fasteners.InterProcessLock(
1618
1620
  constants.MultiBrowser.PYAUTOGUILOCK
1619
1621
  )
@@ -1653,6 +1655,8 @@ class CDPMethods():
1653
1655
  self.loop.run_until_complete(self.page.wait())
1654
1656
 
1655
1657
  def gui_drag_and_drop(self, drag_selector, drop_selector, timeframe=0.35):
1658
+ """Use PyAutoGUI to drag-and-drop from one selector to another.
1659
+ Can simulate click-and-hold when using the same selector twice."""
1656
1660
  self.__slow_mode_pause_if_set()
1657
1661
  self.bring_active_window_to_front()
1658
1662
  x1, y1 = self.get_gui_element_center(drag_selector)
@@ -460,8 +460,10 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
460
460
  "chrome-extension://"
461
461
  ):
462
462
  # https://issues.chromium.org/issues/396611138
463
- # (Uncomment below when resolved)
464
- # self.close()
463
+ # (Remove the Linux conditional when resolved)
464
+ # (So that close() is always called)
465
+ if "linux" in sys.platform:
466
+ self.close()
465
467
  if self.service.is_connectable():
466
468
  self.stop_client()
467
469
  self.service.stop()
@@ -499,8 +501,10 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
499
501
  "chrome-extension://"
500
502
  ):
501
503
  # https://issues.chromium.org/issues/396611138
502
- # (Uncomment below when resolved)
503
- # self.close()
504
+ # (Remove the Linux conditional when resolved)
505
+ # (So that close() is always called)
506
+ if "linux" in sys.platform:
507
+ self.close()
504
508
  if self.service.is_connectable():
505
509
  self.stop_client()
506
510
  self.service.stop()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seleniumbase
3
- Version: 4.36.3
3
+ Version: 4.36.5
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
@@ -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.13.0
79
+ Requires-Dist: typing-extensions>=4.13.1
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"
@@ -127,24 +127,24 @@ Requires-Dist: pyotp==2.9.0
127
127
  Requires-Dist: python-xlib==0.33; platform_system == "Linux"
128
128
  Requires-Dist: markdown-it-py==3.0.0
129
129
  Requires-Dist: mdurl==0.1.2
130
- Requires-Dist: rich==13.9.4
130
+ Requires-Dist: rich<15,>=14.0.0
131
131
  Provides-Extra: allure
132
132
  Requires-Dist: allure-pytest>=2.13.5; extra == "allure"
133
133
  Requires-Dist: allure-python-commons>=2.13.5; extra == "allure"
134
134
  Requires-Dist: allure-behave>=2.13.5; extra == "allure"
135
135
  Provides-Extra: coverage
136
136
  Requires-Dist: coverage>=7.6.1; python_version < "3.9" and extra == "coverage"
137
- Requires-Dist: coverage>=7.7.1; python_version >= "3.9" and extra == "coverage"
137
+ Requires-Dist: coverage>=7.8.0; python_version >= "3.9" and extra == "coverage"
138
138
  Requires-Dist: pytest-cov>=5.0.0; python_version < "3.9" and extra == "coverage"
139
- Requires-Dist: pytest-cov>=6.0.0; python_version >= "3.9" and extra == "coverage"
139
+ Requires-Dist: pytest-cov>=6.1.0; python_version >= "3.9" and extra == "coverage"
140
140
  Provides-Extra: flake8
141
141
  Requires-Dist: flake8==5.0.4; python_version < "3.9" and extra == "flake8"
142
- Requires-Dist: flake8==7.1.2; python_version >= "3.9" and extra == "flake8"
142
+ Requires-Dist: flake8==7.2.0; python_version >= "3.9" and extra == "flake8"
143
143
  Requires-Dist: mccabe==0.7.0; extra == "flake8"
144
144
  Requires-Dist: pyflakes==2.5.0; python_version < "3.9" and extra == "flake8"
145
- Requires-Dist: pyflakes==3.2.0; python_version >= "3.9" and extra == "flake8"
145
+ Requires-Dist: pyflakes==3.3.2; python_version >= "3.9" and extra == "flake8"
146
146
  Requires-Dist: pycodestyle==2.9.1; python_version < "3.9" and extra == "flake8"
147
- Requires-Dist: pycodestyle==2.12.1; python_version >= "3.9" and extra == "flake8"
147
+ Requires-Dist: pycodestyle==2.13.0; python_version >= "3.9" and extra == "flake8"
148
148
  Provides-Extra: ipdb
149
149
  Requires-Dist: ipdb==0.13.13; extra == "ipdb"
150
150
  Requires-Dist: ipython==7.34.0; extra == "ipdb"
@@ -160,7 +160,7 @@ Requires-Dist: cffi==1.17.1; extra == "pdfminer"
160
160
  Requires-Dist: pycparser==2.22; extra == "pdfminer"
161
161
  Provides-Extra: pillow
162
162
  Requires-Dist: Pillow>=10.4.0; python_version < "3.9" and extra == "pillow"
163
- Requires-Dist: Pillow>=11.1.0; python_version >= "3.9" and extra == "pillow"
163
+ Requires-Dist: Pillow>=11.2.0; python_version >= "3.9" and extra == "pillow"
164
164
  Provides-Extra: pip-system-certs
165
165
  Requires-Dist: pip-system-certs==4.0; platform_system == "Windows" and extra == "pip-system-certs"
166
166
  Provides-Extra: proxy
@@ -212,7 +212,7 @@ Dynamic: summary
212
212
 
213
213
  <p align="center" class="hero__title"><b>All-in-one Browser Automation Framework:<br />Web Crawling / Testing / Scraping / Stealth</b></p>
214
214
 
215
- <p align="center"><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE" alt="PyPI version" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases" target="_blank"><img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE" alt="GitHub version" /></a> <a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions" target="_blank"><img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://discord.gg/EdhQTn3EyE" target="_blank"><img src="https://img.shields.io/badge/join-discord-infomational" alt="Join the SeleniumBase chat on Discord"/></a></p>
215
+ <p align="center"><a href="https://pypi.python.org/pypi/seleniumbase" target="_blank"><img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE" alt="PyPI version" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/releases" target="_blank"><img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE" alt="GitHub version" /></a> <a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/actions" target="_blank"><img src="https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg" alt="SeleniumBase GitHub Actions" /></a> <a href="https://discord.gg/EdhQTn3EyE" target="_blank"><img src="https://img.shields.io/discord/727927627830001734?color=7289DA&label=Discord&logo=discord&logoColor=white"/></a></p>
216
216
 
217
217
  <p align="center">
218
218
  <a href="#python_installation">🚀 Start</a> |
@@ -1590,6 +1590,6 @@ pytest --reruns=1 --reruns-delay=1
1590
1590
  <div><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/cdn/img/super_logo_sb3.png" title="SeleniumBase" width="274" /></a></div>
1591
1591
  <div><a href="https://seleniumbase.io"><img src="https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg" alt="SeleniumBase Docs" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" title="SeleniumBase" /></a></div>
1592
1592
  <div><a href="https://github.com/seleniumbase/SeleniumBase"><img src="https://img.shields.io/badge/tested%20with-SeleniumBase-04C38E.svg" alt="Tested with SeleniumBase" /></a> <a href="https://github.com/seleniumbase/SeleniumBase/stargazers"><img src="https://img.shields.io/github/stars/seleniumbase/seleniumbase.svg?color=19A57B" title="Stargazers" /></a></div>
1593
- <div><a href="https://hellogithub.com/repository/c6be2d0f1969448697683d11a4ff915e" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=c6be2d0f1969448697683d11a4ff915e&claim_uid=xcrm4p9j3d6JCO5&theme=small" alt="Featured|HelloGitHub" /></a> <a href="https://discord.gg/EdhQTn3EyE" target="_blank"><img src="https://img.shields.io/badge/join-discord-infomational" alt="Join the SeleniumBase chat on Discord"/></a> <a href="https://gitter.im/seleniumbase/SeleniumBase" target="_blank"><img src="https://img.shields.io/gitter/room/seleniumbase/SeleniumBase.svg" alt="Gitter chat"/></a></div>
1593
+ <div><a href="https://hellogithub.com/repository/c6be2d0f1969448697683d11a4ff915e" target="_blank"><img src="https://abroad.hellogithub.com/v1/widgets/recommend.svg?rid=c6be2d0f1969448697683d11a4ff915e&claim_uid=xcrm4p9j3d6JCO5&theme=small" alt="Featured|HelloGitHub" /></a> <a href="https://discord.gg/EdhQTn3EyE" target="_blank"><img src="https://img.shields.io/discord/727927627830001734?color=7289DA&label=Discord&logo=discord&logoColor=white"/></a></div>
1594
1594
  <div><a href="https://pepy.tech/projects/seleniumbase?timeRange=threeMonths&category=version&includeCIDownloads=true&granularity=daily&viewType=line&versions=*" target="_blank"><img src="https://static.pepy.tech/badge/seleniumbase" alt="SeleniumBase PyPI downloads" /></a> <img src="https://views.whatilearened.today/views/github/seleniumbase/SeleniumBase.svg" width="98px" height="20px" alt="Views" /></div>
1595
1595
  <div align="left"></div>
@@ -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=xvPsqGZKQAQXiz8z1Hm_3s3iQwLaLW08OI7QGKYtkgw,46
6
+ seleniumbase/__version__.py,sha256=E0FjVs1Zo_rK39vc7dW9lqIRPHWS6Fabw-mxaGe9vtA,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
@@ -49,8 +49,8 @@ seleniumbase/core/mysql.py,sha256=8Fzj3p5dhtDWfMpFqFYxpSwa9s1UltiHsWJ56_aPOqk,39
49
49
  seleniumbase/core/proxy_helper.py,sha256=4VkpMwavz0fx8wcOqJ_jyBT0HIXwcxmAcpd1gjJizdc,8332
50
50
  seleniumbase/core/recorder_helper.py,sha256=fNGjbapXmEsht54x1o6Igk198QdnPxDDnjUOzQxNhNQ,25055
51
51
  seleniumbase/core/report_helper.py,sha256=AIl6Qava2yW1uSzbLpJBlPlYDz0KE-rVhogh8hsGWBo,12201
52
- seleniumbase/core/s3_manager.py,sha256=bkeI8I4y19ebWuQG1oEZV5qJbotC6eN8vin31OCNWJk,3521
53
- seleniumbase/core/sb_cdp.py,sha256=UfcqmGevQog10xKUxJ8k735EDxBJgFTrpPcXjO7Popw,85430
52
+ seleniumbase/core/s3_manager.py,sha256=z_4qx2jI_gtK5r3niGXgEOBpfMUicUCOciowai50MP4,3529
53
+ seleniumbase/core/sb_cdp.py,sha256=Wy1ypcFfN4V5dDUbwjw22K6zOE2HczPlN5BFdBhUl6E,85718
54
54
  seleniumbase/core/sb_driver.py,sha256=yvTDRblBzG6bDX7XcLiAA6QcBelSJj_HHL_04lcfeeE,13760
55
55
  seleniumbase/core/session_helper.py,sha256=s9zD3PVZEWVzG2h81cCUskbNWLfdjC_LwwQjKptHCak,558
56
56
  seleniumbase/core/settings_parser.py,sha256=gqVohHVlE_5L5Cqe2L24uYrRzvoK-saX8E_Df7_-_3I,7609
@@ -106,7 +106,7 @@ seleniumbase/translate/portuguese.py,sha256=x3P4qxp56UiI41GoaL7JbUvFRYsgXU1EKjTg
106
106
  seleniumbase/translate/russian.py,sha256=TyN9n0b4GRWDEYnHRGw1rfNAscdDmP3F3Y3aySM3C7s,27978
107
107
  seleniumbase/translate/spanish.py,sha256=hh3xgW1Pq122SHYVvJAxFaXhFrjniOVncVbJbfWqOUM,25528
108
108
  seleniumbase/translate/translator.py,sha256=wPhZH6e5NhmebYL1kP2eGxUcVy1gfTb6XCH8ATEPpxE,49238
109
- seleniumbase/undetected/__init__.py,sha256=_UHa3Y5CN8eDH53KjVXlo9c0kK4v1LYqK_FIti8hBd8,24627
109
+ seleniumbase/undetected/__init__.py,sha256=IjjcNzpv-NZVGQb1SL2BGAUFowwkhfjZ_1l1pKDsjYk,24871
110
110
  seleniumbase/undetected/cdp.py,sha256=RLpwZnhUvmK9tgXcZIBBQedwk2q7Jj_EXZkmzI8WUqk,4023
111
111
  seleniumbase/undetected/dprocess.py,sha256=83EV8ZHJWHG1TSUv9JNClBhdgiBXlkCc6mJ--HsoP3k,1681
112
112
  seleniumbase/undetected/options.py,sha256=BoNuwhrG7oOvuLvTwkvsWCF36pMkS1tHCG-XpP4_EkI,3001
@@ -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.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,,
138
+ seleniumbase-4.36.5.dist-info/licenses/LICENSE,sha256=BRblZsX7HyPUjQmYTiyWr_e9tzWvmR3R4SFclM2R3W0,1085
139
+ seleniumbase-4.36.5.dist-info/METADATA,sha256=lhvP06gFpjj-qWS04g89lmUosDlqj8CxN1WjzLGckWQ,86879
140
+ seleniumbase-4.36.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
141
+ seleniumbase-4.36.5.dist-info/entry_points.txt,sha256=CNrh2EKNaHYEhO6pP1RJyVLB99LkDDYX7TnUK8xfjqk,623
142
+ seleniumbase-4.36.5.dist-info/top_level.txt,sha256=4N97aBOQ8ETCnDnokBsWb07lJfTaq3C1ZzYRxvLMxqU,19
143
+ seleniumbase-4.36.5.dist-info/RECORD,,