-
-
Notifications
You must be signed in to change notification settings - Fork 210
refactor: pydoll v2 #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
refactor: pydoll v2 #132
Conversation
…implicity in its operations
else: | ||
raise InvalidOptionsObject() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
if response['result']['result']['value'] == 'complete': | ||
break | ||
if asyncio.get_event_loop().time() - start_time > timeout: | ||
raise asyncio.TimeoutError('Page load timed out') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create a custom exception
Hi, there are many changes and a major refactoring. First of all, I would like to thank you for your commitment and dedication in keeping this project active. The changes seem very good to me, at least in the critical parts of the keyboard events module, the clarity obtained with this refactoring is very clear, but your tests seem to break when importing the commands module:
|
Refactoring Pull Request
Refactoring Scope
All codebase
Description
This refactoring aims to facilitate future maintenance. The file structure was reorganized for better readability, and type hints were added to improve robustness.
API Changes
Testing Checklist
Checklist before requesting a review
poetry run task lint
and fixed any issuespoetry run task test
and all tests pass