Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ encode
Method
encode
py/selenium/webdriver/common/actions/interaction.py:45–46 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
43
self.duration = duration
44
45
def
encode(self) -> dict[str, str | int]:
46
return
{
"type"
: self.PAUSE,
"duration"
: int(self.duration * 1000)}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected