| |
- Method resolution order:
- PlayAction
- telemetry.internal.actions.media_action.MediaAction
- telemetry.internal.actions.page_action.PageAction
- __builtin__.object
Methods defined here:
- RunAction(self, tab)
- WillRunAction(self, tab)
- Load the media metrics JS code prior to running the action.
- __init__(self, selector=None, playing_event_timeout_in_seconds=0, ended_event_timeout_in_seconds=0)
Methods inherited from telemetry.internal.actions.media_action.MediaAction:
- HasEventCompletedOrError(self, tab, selector, event_name)
- LoadJS(self, tab, js_file_name)
- Loads and executes a JS file in the tab.
- WaitForEvent(self, tab, selector, event_name, timeout_in_seconds)
- Halts media action until the selector's event is fired.
Args:
tab: The tab to check for event on.
selector: Media element selector.
event_name: Name of the event to check if fired or not.
timeout_in_seconds: Timeout to check for event, throws an exception if
not fired.
Methods inherited from telemetry.internal.actions.page_action.PageAction:
- CleanUp(self, tab)
Data descriptors inherited from telemetry.internal.actions.page_action.PageAction:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|