Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
4.41.9 - CDP Mode: Patch 57
CDP Mode: Patch 57
- Make improvements to CDP Mode
- Refresh Python dependencies
- Update CDP Mode examples
- Update visual testing examples
- Update an example
One of the key improvements is being able to click through multiple CAPTCHAs at nearly the same time.
See the following example: SeleniumBase/examples/cdp_mode/raw_multi_captcha.py, which spins up multiple windows via ThreadPoolExecutor
, and then solves mutliple CAPTCHAs.
from concurrent.futures import ThreadPoolExecutor
from random import randint
from seleniumbase import decorators
from seleniumbase import sb_cdp
def main(url):
sb = sb_cdp.Chrome(url, lang="en")
sb.set_window_rect(randint(4, 680), randint(8, 380), 840, 520)
sb.sleep(2.2)
sb.gui_click_captcha()
sb.sleep(2)
sb.driver.quit()
if __name__ == "__main__":
urls = ["https://seleniumbase.io/apps/turnstile" for i in range(5)]
with decorators.print_runtime("raw_multi_captcha.py"):
with ThreadPoolExecutor(max_workers=len(urls)) as executor:
for url in urls:
executor.submit(main, url)
What's Changed
Full Changelog: v4.41.8...v4.41.9
4.41.8 - CDP Mode: Patch 56
4.41.7 - More PDF improvements
More PDF improvements
- Add / improve PDF methods
- Refresh Python dependencies
- Update the Google Search example
- Update the ReadMe
What's Changed
Full Changelog: v4.41.6...v4.41.7
4.41.6 - PDF improvements
PDF improvements
- Prevent odd warnings when getting PDF text
--> This resolves #3967 - Add sb.print_to_pdf()
--> This resolves #3968 - Update an example that prints to a PDF
- Refresh Python dependencies
What's Changed
Full Changelog: v4.41.5...v4.41.6
4.41.5 - Fix "pytest --help"
Fix "pytest --help"
- Fix issue with "pytest --help"
--> This resolves #3561 - Update GitHub Actions
- Refresh Python dependencies
What's Changed
Full Changelog: v4.41.4...v4.41.5
4.41.4 - Add more select options for CDP Mode
Add more select options for CDP Mode
- Add more select options for CDP Mode
--> This resolves #3958 - Refresh Python dependencies
What's Changed
Full Changelog: v4.41.3...v4.41.4
4.41.3 - Passwordless proxy auth
Allow proxy auth without password
- Allow proxy auth with user but no password
--> This resolves #3947 - Refresh Python dependencies
- Update examples
--> This resolves #3948
--> This resolves #3949
What's Changed
Full Changelog: v4.41.2...v4.41.3
4.41.2 - CDP Mode: Patch 55
CDP Mode: Patch 55
- Update CDP Mode
--> This resolves #3945 - Update CDP Mode examples
- Refresh Python dependencies
- Refresh a Python dependency
What's Changed
Full Changelog: v4.41.1...v4.41.2
4.41.1 - CDP Mode: Patch 54
CDP Mode: Patch 54
- Fix "sb.uc_gui_click_captcha()" on Windows
--> This resolves #3928 - Refresh Python dependencies
What's Changed
Full Changelog: v4.41.0...v4.41.1