| |
Methods defined here:
- Activate(self)
- ClearCache(self)
- Close(self)
- CollectGarbage(self)
- Disconnect(self)
- DispatchNotifications(self, timeout=10)
- EvaluateJavaScript(self, expr, timeout)
- ExecuteJavaScript(self, expr, timeout)
- GetCookieByName(self, name, timeout)
- GetDOMStats(self, timeout)
- Navigate(self, url, script_to_evaluate_on_commit, timeout)
- PerformActionAndWaitForNavigate(self, action_function, timeout)
- RegisterDomain(self, domain_name, notification_handler, will_close_handler)
- Registers a given domain for handling notification methods.
For example, given inspector_backend:
def OnConsoleNotification(msg):
if msg['method'] == 'Console.messageAdded':
print msg['params']['message']
return
def OnConsoleClose(self):
pass
inspector_backend.RegisterDomain('Console',
OnConsoleNotification, OnConsoleClose)
- Screenshot(self, timeout)
- SendAndIgnoreResponse(self, req)
- StartTimelineRecording(self)
- StopTimelineRecording(self)
- SyncRequest(self, req, timeout=10)
- UnregisterDomain(self, domain_name)
- Unregisters a previously registered domain.
- WaitForDocumentReadyStateToBeComplete(self, timeout)
- WaitForDocumentReadyStateToBeInteractiveOrBetter(self, timeout)
- __del__(self)
- __init__(self, browser, browser_backend, debugger_url)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- browser
- message_output_stream
- screenshot_supported
- timeline_model
- url
|