mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1862649 - [wpt] Remove "scrollIntoView" argument from "browsingContext.captureScreenshot" from bidi client. r=webdriver-reviewers,jgraham
Depends on D192577 Differential Revision: https://phabricator.services.mozilla.com/D192578
This commit is contained in:
parent
178a244302
commit
142f5fbbb3
@ -6,14 +6,11 @@ from ._module import BidiModule, command
|
||||
|
||||
class ElementOptions(Dict[str, Any]):
|
||||
def __init__(
|
||||
self, element: Mapping[str, Any], scroll_into_view: Optional[bool] = None
|
||||
self, element: Mapping[str, Any]
|
||||
):
|
||||
self["type"] = "element"
|
||||
self["element"] = element
|
||||
|
||||
if scroll_into_view is not None:
|
||||
self["scrollIntoView"] = scroll_into_view
|
||||
|
||||
|
||||
class BoxOptions(Dict[str, Any]):
|
||||
def __init__(self, x: float, y: float, width: float, height: float):
|
||||
|
Loading…
Reference in New Issue
Block a user