MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / encode

Method encode

py/selenium/webdriver/common/actions/wheel_input.py:56–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.type = interaction.WHEEL
55
56 def encode(self) -> dict:
57 return {"type": self.type, "id": self.name, "actions": self.actions}
58
59 def create_scroll(self, x: int, y: int, delta_x: int, delta_y: int, duration: int, origin) -> None:
60 if isinstance(origin, WebElement):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected