Compare commits
No commits in common. "ab990dba1405823583c80c0182f6536b5eca065e" and "65d155ba79d288a93f3dd3aad53259fdeabcb8e5" have entirely different histories.
ab990dba14
...
65d155ba79
|
@ -174,26 +174,6 @@ class WebDriverBase(_BaseRPC, metaclass=abc.ABCMeta):
|
|||
'WebDriver:SwitchToWindow', handle=handle, focus=focus
|
||||
)
|
||||
|
||||
async def take_screenshot(
|
||||
self,
|
||||
*,
|
||||
hash: bool = False, # pylint: disable=redefined-builtin
|
||||
full: bool = True,
|
||||
scroll: bool = True,
|
||||
) -> str:
|
||||
'''Take a screenshot of the current frame
|
||||
|
||||
:returns: Lossless PNG image encoded as a base-64 Unicode string
|
||||
'''
|
||||
|
||||
res: Dict[str, str] = await self._send_message(
|
||||
'WebDriver:TakeScreenshot',
|
||||
full=full,
|
||||
hash=hash,
|
||||
scroll=scroll,
|
||||
)
|
||||
return res['value']
|
||||
|
||||
|
||||
class Marionette(WebDriverBase):
|
||||
'''Firefox Marionette session
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "aiomarionette"
|
||||
version = "0.0.2"
|
||||
version = "0.0.1.post1"
|
||||
description = "Firefox Marionette client for asyncio"
|
||||
readme = "README.md"
|
||||
authors = ["Dustin C. Hatch <dustin@hatch.name>"]
|
||||
|
|
Loading…
Reference in New Issue