You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Checklist before requesting
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
The text was updated successfully, but these errors were encountered: