Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Added webdriver_manager and option to use as context manager #9

Merged
merged 2 commits into from
May 5, 2022

Conversation

dobizz
Copy link
Contributor

@dobizz dobizz commented May 5, 2022

  • Added the webdriver-manager library to automatically manage drivers for chrome driver
  • Added the __enter__ and __exit__ methods so that the hCaptcha class could be used as a context manager
  • Organized the imports and requirements.txt using the isort library

dobizz added 2 commits May 4, 2022 23:47
- used webdriver-manager package to handle chrome driver installation
- minor cleanup of imports using isort
- added __enter__ and __exit__ methods so that hCaptcha class could be used as as context manager
- changed sample code to use context manager
@maximedrn maximedrn merged commit f42cb90 into maximedrn:master May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants