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:
Alexandra Borovova 2023-11-06 13:17:43 +00:00
parent 178a244302
commit 142f5fbbb3

View File

@ -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):