[Feature Request]: Pass quality argument to get_screenshot method
Checklist before requesting
- [x] I have searched for similar feature requests and didn't find a duplicate.
- [x] I have checked the documentation to confirm this feature doesn't already exist.
Problem Statement
def screenshot( cls, fmt: str = 'jpeg', quality: int = 100, clip: dict = None ) -> dict: The class method have quality argument (in case someone like me want to use it), but you should expand the whole class and pass Page to browser which is little bit unnecessary.
Proposed Solution
Maybe just add argument to: async def get_screenshot(self, path: str) method which executes screenshot class method under the hood ?
Alternatives Considered
No response
Additional Context
No response
Importance
Nice to have
Contribution
None
Hi @Airmask1,
Thanks for the suggestion! This is already being worked on in the new version of Pydoll, which will be released soon. Below there is a preview
@Airmask1 Hi! I just released a new version. Just install the new version, this feature is already available :)
@Airmask1 Hi! I just released a new version. Just install the new version, this feature is already available :)
Thanks a lot, already upgraded.