| OLD | NEW |
| (Empty) | |
| 1 |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 <html><head><title>Python: module telemetry.core.chrome.inspector_backend</title
> |
| 4 </head><body bgcolor="#f0f0f8"> |
| 5 |
| 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 <tr bgcolor="#7799ee"> |
| 8 <td valign=bottom> <br> |
| 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.chrome
.html"><font color="#ffffff">chrome</font></a>.inspector_backend</strong></big><
/big></font></td |
| 10 ><td align=right valign=bottom |
| 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"file:/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chrome/inspec
tor_backend.py">/Users/nduca/Local/chrome/src/tools/telemetry/telemetry/core/chr
ome/inspector_backend.py</a></font></td></tr></table> |
| 12 <p><tt># Copyright (c) 2012 The Chromium Autho
rs. All rights reserved.<br> |
| 13 # Use of this source code is governed by
a BSD-style license that can be<br> |
| 14 # found in the LICENSE file.</tt></p> |
| 15 <p> |
| 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 <tr bgcolor="#aa55cc"> |
| 18 <td colspan=3 valign=bottom> <br> |
| 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 20 |
| 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="telemetry.core.exceptions.html">telemetry.core.exceptions</a><br> |
| 23 <a href="telemetry.core.chrome.inspector_console.html">telemetry.core.chrome.ins
pector_console</a><br> |
| 24 <a href="telemetry.core.chrome.inspector_memory.html">telemetry.core.chrome.insp
ector_memory</a><br> |
| 25 <a href="telemetry.core.chrome.inspector_page.html">telemetry.core.chrome.inspec
tor_page</a><br> |
| 26 </td><td width="25%" valign=top><a href="telemetry.core.chrome.inspector_runtime
.html">telemetry.core.chrome.inspector_runtime</a><br> |
| 27 <a href="telemetry.core.chrome.inspector_timeline.html">telemetry.core.chrome.in
spector_timeline</a><br> |
| 28 <a href="json.html">json</a><br> |
| 29 <a href="logging.html">logging</a><br> |
| 30 </td><td width="25%" valign=top><a href="telemetry.core.chrome.png_bitmap.html">
telemetry.core.chrome.png_bitmap</a><br> |
| 31 <a href="socket.html">socket</a><br> |
| 32 <a href="sys.html">sys</a><br> |
| 33 <a href="telemetry.core.util.html">telemetry.core.util</a><br> |
| 34 </td><td width="25%" valign=top><a href="telemetry.core.chrome.websocket.html">t
elemetry.core.chrome.websocket</a><br> |
| 35 </td></tr></table></td></tr></table><p> |
| 36 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 37 <tr bgcolor="#ee77aa"> |
| 38 <td colspan=3 valign=bottom> <br> |
| 39 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 40 |
| 41 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 42 <td width="100%"><dl> |
| 43 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 44 </font></dt><dd> |
| 45 <dl> |
| 46 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe
nd.html#InspectorBackend">InspectorBackend</a> |
| 47 </font></dt></dl> |
| 48 </dd> |
| 49 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) |
| 50 </font></dt><dd> |
| 51 <dl> |
| 52 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe
nd.html#InspectorException">InspectorException</a> |
| 53 </font></dt></dl> |
| 54 </dd> |
| 55 </dl> |
| 56 <p> |
| 57 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 58 <tr bgcolor="#ffc8d8"> |
| 59 <td colspan=3 valign=bottom> <br> |
| 60 <font color="#000000" face="helvetica, arial"><a name="InspectorBackend">class <
strong>InspectorBackend</strong></a>(<a href="__builtin__.html#object">__builtin
__.object</a>)</font></td></tr> |
| 61 |
| 62 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 63 <td width="100%">Methods defined here:<br> |
| 64 <dl><dt><a name="InspectorBackend-Activate"><strong>Activate</strong></a>(self)<
/dt></dl> |
| 65 |
| 66 <dl><dt><a name="InspectorBackend-Close"><strong>Close</strong></a>(self)</dt></
dl> |
| 67 |
| 68 <dl><dt><a name="InspectorBackend-CollectGarbage"><strong>CollectGarbage</strong
></a>(self)</dt></dl> |
| 69 |
| 70 <dl><dt><a name="InspectorBackend-Disconnect"><strong>Disconnect</strong></a>(se
lf)</dt></dl> |
| 71 |
| 72 <dl><dt><a name="InspectorBackend-DispatchNotifications"><strong>DispatchNotific
ations</strong></a>(self, timeout<font color="#909090">=10</font>)</dt></dl> |
| 73 |
| 74 <dl><dt><a name="InspectorBackend-EvaluateJavaScript"><strong>EvaluateJavaScript
</strong></a>(self, expr, timeout)</dt></dl> |
| 75 |
| 76 <dl><dt><a name="InspectorBackend-ExecuteJavaScript"><strong>ExecuteJavaScript</
strong></a>(self, expr, timeout)</dt></dl> |
| 77 |
| 78 <dl><dt><a name="InspectorBackend-GetCookieByName"><strong>GetCookieByName</stro
ng></a>(self, name, timeout)</dt></dl> |
| 79 |
| 80 <dl><dt><a name="InspectorBackend-GetDOMStats"><strong>GetDOMStats</strong></a>(
self, timeout)</dt></dl> |
| 81 |
| 82 <dl><dt><a name="InspectorBackend-Navigate"><strong>Navigate</strong></a>(self,
url, script_to_evaluate_on_commit, timeout)</dt></dl> |
| 83 |
| 84 <dl><dt><a name="InspectorBackend-PerformActionAndWaitForNavigate"><strong>Perfo
rmActionAndWaitForNavigate</strong></a>(self, action_function, timeout)</dt></dl
> |
| 85 |
| 86 <dl><dt><a name="InspectorBackend-RegisterDomain"><strong>RegisterDomain</strong
></a>(self, domain_name, notification_handler, will_close_handler)</dt><dd><tt>R
egisters a given domain for handling notification&
nbsp;methods.<br> |
| 87 <br> |
| 88 For example, given inspector_backend:<br> |
| 89 def OnConsoleNotification(msg):<br> |
| 90 if msg['method'] == 'Console.
messageAdded':<br> |
| 91 print msg['params']['
message']<br> |
| 92 return<br> |
| 93 def OnConsoleClose(self):<br> |
| 94 pass<br> |
| 95 inspector_backend.<a href="#InspectorBackend-RegisterDomain">R
egisterDomain</a>('Console',<br> |
| 96 &n
bsp; &nbs
p; OnConsoleNotification,&n
bsp;OnConsoleClose)</tt></dd></dl> |
| 97 |
| 98 <dl><dt><a name="InspectorBackend-Screenshot"><strong>Screenshot</strong></a>(se
lf, timeout)</dt></dl> |
| 99 |
| 100 <dl><dt><a name="InspectorBackend-SendAndIgnoreResponse"><strong>SendAndIgnoreRe
sponse</strong></a>(self, req)</dt></dl> |
| 101 |
| 102 <dl><dt><a name="InspectorBackend-StartTimelineRecording"><strong>StartTimelineR
ecording</strong></a>(self)</dt></dl> |
| 103 |
| 104 <dl><dt><a name="InspectorBackend-StopTimelineRecording"><strong>StopTimelineRec
ording</strong></a>(self)</dt></dl> |
| 105 |
| 106 <dl><dt><a name="InspectorBackend-SyncRequest"><strong>SyncRequest</strong></a>(
self, req, timeout<font color="#909090">=10</font>)</dt></dl> |
| 107 |
| 108 <dl><dt><a name="InspectorBackend-UnregisterDomain"><strong>UnregisterDomain</st
rong></a>(self, domain_name)</dt><dd><tt>Unregisters a previously 
;registered domain.</tt></dd></dl> |
| 109 |
| 110 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeComplete"><strong
>WaitForDocumentReadyStateToBeComplete</strong></a>(self, timeout)</dt></dl> |
| 111 |
| 112 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeInteractiveOrBett
er"><strong>WaitForDocumentReadyStateToBeInteractiveOrBetter</strong></a>(self,
timeout)</dt></dl> |
| 113 |
| 114 <dl><dt><a name="InspectorBackend-__del__"><strong>__del__</strong></a>(self)</d
t></dl> |
| 115 |
| 116 <dl><dt><a name="InspectorBackend-__init__"><strong>__init__</strong></a>(self,
browser, browser_backend, debugger_url)</dt></dl> |
| 117 |
| 118 <hr> |
| 119 Data descriptors defined here:<br> |
| 120 <dl><dt><strong>__dict__</strong></dt> |
| 121 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 122 </dl> |
| 123 <dl><dt><strong>__weakref__</strong></dt> |
| 124 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 125 </dl> |
| 126 <dl><dt><strong>browser</strong></dt> |
| 127 </dl> |
| 128 <dl><dt><strong>message_output_stream</strong></dt> |
| 129 </dl> |
| 130 <dl><dt><strong>screenshot_supported</strong></dt> |
| 131 </dl> |
| 132 <dl><dt><strong>timeline_model</strong></dt> |
| 133 </dl> |
| 134 <dl><dt><strong>url</strong></dt> |
| 135 </dl> |
| 136 </td></tr></table> <p> |
| 137 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 138 <tr bgcolor="#ffc8d8"> |
| 139 <td colspan=3 valign=bottom> <br> |
| 140 <font color="#000000" face="helvetica, arial"><a name="InspectorException">class
<strong>InspectorException</strong></a>(<a href="exceptions.html#Exception">exc
eptions.Exception</a>)</font></td></tr> |
| 141 |
| 142 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 143 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 144 <dd><a href="telemetry.core.chrome.inspector_backend.html#InspectorException">In
spectorException</a></dd> |
| 145 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 146 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 147 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 148 </dl> |
| 149 <hr> |
| 150 Data descriptors defined here:<br> |
| 151 <dl><dt><strong>__weakref__</strong></dt> |
| 152 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 153 </dl> |
| 154 <hr> |
| 155 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> |
| 156 <dl><dt><a name="InspectorException-__init__"><strong>__init__</strong></a>(...)
</dt><dd><tt>x.<a href="#InspectorException-__init__">__init__</a>(...) ini
tializes x; see help(type(x)) for signature</tt></dd></
dl> |
| 157 |
| 158 <hr> |
| 159 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> |
| 160 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#InspectorException-__new__">__new__</a>(S, ...) -
> a new <a href="__builtin__.html#object">object</a> with
type S, a subtype of T</tt></dl> |
| 161 |
| 162 <hr> |
| 163 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> |
| 164 <dl><dt><a name="InspectorException-__delattr__"><strong>__delattr__</strong></a
>(...)</dt><dd><tt>x.<a href="#InspectorException-__delattr__">__delattr__</a>('
name') <==> del x.name</tt></dd></dl> |
| 165 |
| 166 <dl><dt><a name="InspectorException-__getattribute__"><strong>__getattribute__</
strong></a>(...)</dt><dd><tt>x.<a href="#InspectorException-__getattribute__">__
getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 167 |
| 168 <dl><dt><a name="InspectorException-__getitem__"><strong>__getitem__</strong></a
>(...)</dt><dd><tt>x.<a href="#InspectorException-__getitem__">__getitem__</a>(y
) <==> x[y]</tt></dd></dl> |
| 169 |
| 170 <dl><dt><a name="InspectorException-__getslice__"><strong>__getslice__</strong><
/a>(...)</dt><dd><tt>x.<a href="#InspectorException-__getslice__">__getslice__</
a>(i, j) <==> x[i:j]<br> |
| 171 <br> |
| 172 Use of negative indices is not supported.</tt></dd
></dl> |
| 173 |
| 174 <dl><dt><a name="InspectorException-__reduce__"><strong>__reduce__</strong></a>(
...)</dt></dl> |
| 175 |
| 176 <dl><dt><a name="InspectorException-__repr__"><strong>__repr__</strong></a>(...)
</dt><dd><tt>x.<a href="#InspectorException-__repr__">__repr__</a>() <==
> repr(x)</tt></dd></dl> |
| 177 |
| 178 <dl><dt><a name="InspectorException-__setattr__"><strong>__setattr__</strong></a
>(...)</dt><dd><tt>x.<a href="#InspectorException-__setattr__">__setattr__</a>('
name', value) <==> x.name = value</tt></dd></dl> |
| 179 |
| 180 <dl><dt><a name="InspectorException-__setstate__"><strong>__setstate__</strong><
/a>(...)</dt></dl> |
| 181 |
| 182 <dl><dt><a name="InspectorException-__str__"><strong>__str__</strong></a>(...)</
dt><dd><tt>x.<a href="#InspectorException-__str__">__str__</a>() <==>
str(x)</tt></dd></dl> |
| 183 |
| 184 <dl><dt><a name="InspectorException-__unicode__"><strong>__unicode__</strong></a
>(...)</dt></dl> |
| 185 |
| 186 <hr> |
| 187 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> |
| 188 <dl><dt><strong>__dict__</strong></dt> |
| 189 </dl> |
| 190 <dl><dt><strong>args</strong></dt> |
| 191 </dl> |
| 192 <dl><dt><strong>message</strong></dt> |
| 193 </dl> |
| 194 </td></tr></table></td></tr></table> |
| 195 </body></html> |
| OLD | NEW |