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=
"../telemetry/core/chrome/inspector_backend.py">telemetry/core/chrome/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_network.html">telemetry.core.chrome.ins
pector_network</a><br> | |
26 </td><td width="25%" valign=top><a href="telemetry.core.chrome.inspector_page.ht
ml">telemetry.core.chrome.inspector_page</a><br> | |
27 <a href="telemetry.core.chrome.inspector_runtime.html">telemetry.core.chrome.ins
pector_runtime</a><br> | |
28 <a href="telemetry.core.chrome.inspector_timeline.html">telemetry.core.chrome.in
spector_timeline</a><br> | |
29 <a href="json.html">json</a><br> | |
30 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> | |
31 <a href="telemetry.core.chrome.png_bitmap.html">telemetry.core.chrome.png_bitmap
</a><br> | |
32 <a href="socket.html">socket</a><br> | |
33 <a href="sys.html">sys</a><br> | |
34 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.cor
e.util</a><br> | |
35 <a href="telemetry.core.chrome.websocket.html">telemetry.core.chrome.websocket</
a><br> | |
36 </td></tr></table></td></tr></table><p> | |
37 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
38 <tr bgcolor="#ee77aa"> | |
39 <td colspan=3 valign=bottom> <br> | |
40 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
41 | |
42 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
43 <td width="100%"><dl> | |
44 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | |
45 </font></dt><dd> | |
46 <dl> | |
47 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe
nd.html#InspectorBackend">InspectorBackend</a> | |
48 </font></dt></dl> | |
49 </dd> | |
50 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) | |
51 </font></dt><dd> | |
52 <dl> | |
53 <dt><font face="helvetica, arial"><a href="telemetry.core.chrome.inspector_backe
nd.html#InspectorException">InspectorException</a> | |
54 </font></dt></dl> | |
55 </dd> | |
56 </dl> | |
57 <p> | |
58 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
59 <tr bgcolor="#ffc8d8"> | |
60 <td colspan=3 valign=bottom> <br> | |
61 <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> | |
62 | |
63 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
64 <td width="100%">Methods defined here:<br> | |
65 <dl><dt><a name="InspectorBackend-Activate"><strong>Activate</strong></a>(self)<
/dt></dl> | |
66 | |
67 <dl><dt><a name="InspectorBackend-ClearCache"><strong>ClearCache</strong></a>(se
lf)</dt></dl> | |
68 | |
69 <dl><dt><a name="InspectorBackend-Close"><strong>Close</strong></a>(self)</dt></
dl> | |
70 | |
71 <dl><dt><a name="InspectorBackend-CollectGarbage"><strong>CollectGarbage</strong
></a>(self)</dt></dl> | |
72 | |
73 <dl><dt><a name="InspectorBackend-Disconnect"><strong>Disconnect</strong></a>(se
lf)</dt></dl> | |
74 | |
75 <dl><dt><a name="InspectorBackend-DispatchNotifications"><strong>DispatchNotific
ations</strong></a>(self, timeout<font color="#909090">=10</font>)</dt></dl> | |
76 | |
77 <dl><dt><a name="InspectorBackend-EvaluateJavaScript"><strong>EvaluateJavaScript
</strong></a>(self, expr, timeout)</dt></dl> | |
78 | |
79 <dl><dt><a name="InspectorBackend-ExecuteJavaScript"><strong>ExecuteJavaScript</
strong></a>(self, expr, timeout)</dt></dl> | |
80 | |
81 <dl><dt><a name="InspectorBackend-GetCookieByName"><strong>GetCookieByName</stro
ng></a>(self, name, timeout)</dt></dl> | |
82 | |
83 <dl><dt><a name="InspectorBackend-GetDOMStats"><strong>GetDOMStats</strong></a>(
self, timeout)</dt></dl> | |
84 | |
85 <dl><dt><a name="InspectorBackend-Navigate"><strong>Navigate</strong></a>(self,
url, script_to_evaluate_on_commit, timeout)</dt></dl> | |
86 | |
87 <dl><dt><a name="InspectorBackend-PerformActionAndWaitForNavigate"><strong>Perfo
rmActionAndWaitForNavigate</strong></a>(self, action_function, timeout)</dt></dl
> | |
88 | |
89 <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> | |
90 <br> | |
91 For example, given inspector_backend:<br> | |
92 def OnConsoleNotification(msg):<br> | |
93 if msg['method'] == 'Console.
messageAdded':<br> | |
94 print msg['params']['
message']<br> | |
95 return<br> | |
96 def OnConsoleClose(self):<br> | |
97 pass<br> | |
98 inspector_backend.<a href="#InspectorBackend-RegisterDomain">R
egisterDomain</a>('Console',<br> | |
99 &n
bsp; &nbs
p; OnConsoleNotification,&n
bsp;OnConsoleClose)</tt></dd></dl> | |
100 | |
101 <dl><dt><a name="InspectorBackend-Screenshot"><strong>Screenshot</strong></a>(se
lf, timeout)</dt></dl> | |
102 | |
103 <dl><dt><a name="InspectorBackend-SendAndIgnoreResponse"><strong>SendAndIgnoreRe
sponse</strong></a>(self, req)</dt></dl> | |
104 | |
105 <dl><dt><a name="InspectorBackend-StartTimelineRecording"><strong>StartTimelineR
ecording</strong></a>(self)</dt></dl> | |
106 | |
107 <dl><dt><a name="InspectorBackend-StopTimelineRecording"><strong>StopTimelineRec
ording</strong></a>(self)</dt></dl> | |
108 | |
109 <dl><dt><a name="InspectorBackend-SyncRequest"><strong>SyncRequest</strong></a>(
self, req, timeout<font color="#909090">=10</font>)</dt></dl> | |
110 | |
111 <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> | |
112 | |
113 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeComplete"><strong
>WaitForDocumentReadyStateToBeComplete</strong></a>(self, timeout)</dt></dl> | |
114 | |
115 <dl><dt><a name="InspectorBackend-WaitForDocumentReadyStateToBeInteractiveOrBett
er"><strong>WaitForDocumentReadyStateToBeInteractiveOrBetter</strong></a>(self,
timeout)</dt></dl> | |
116 | |
117 <dl><dt><a name="InspectorBackend-__del__"><strong>__del__</strong></a>(self)</d
t></dl> | |
118 | |
119 <dl><dt><a name="InspectorBackend-__init__"><strong>__init__</strong></a>(self,
browser, browser_backend, debugger_url)</dt></dl> | |
120 | |
121 <hr> | |
122 Data descriptors defined here:<br> | |
123 <dl><dt><strong>__dict__</strong></dt> | |
124 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
125 </dl> | |
126 <dl><dt><strong>__weakref__</strong></dt> | |
127 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
128 </dl> | |
129 <dl><dt><strong>browser</strong></dt> | |
130 </dl> | |
131 <dl><dt><strong>message_output_stream</strong></dt> | |
132 </dl> | |
133 <dl><dt><strong>screenshot_supported</strong></dt> | |
134 </dl> | |
135 <dl><dt><strong>timeline_model</strong></dt> | |
136 </dl> | |
137 <dl><dt><strong>url</strong></dt> | |
138 </dl> | |
139 </td></tr></table> <p> | |
140 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
141 <tr bgcolor="#ffc8d8"> | |
142 <td colspan=3 valign=bottom> <br> | |
143 <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> | |
144 | |
145 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
146 <td width="100%"><dl><dt>Method resolution order:</dt> | |
147 <dd><a href="telemetry.core.chrome.inspector_backend.html#InspectorException">In
spectorException</a></dd> | |
148 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> | |
149 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> | |
150 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
151 </dl> | |
152 <hr> | |
153 Data descriptors defined here:<br> | |
154 <dl><dt><strong>__weakref__</strong></dt> | |
155 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
156 </dl> | |
157 <hr> | |
158 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> | |
159 <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> | |
160 | |
161 <hr> | |
162 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
163 <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> | |
164 | |
165 <hr> | |
166 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
167 <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> | |
168 | |
169 <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> | |
170 | |
171 <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> | |
172 | |
173 <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> | |
174 <br> | |
175 Use of negative indices is not supported.</tt></dd
></dl> | |
176 | |
177 <dl><dt><a name="InspectorException-__reduce__"><strong>__reduce__</strong></a>(
...)</dt></dl> | |
178 | |
179 <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> | |
180 | |
181 <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> | |
182 | |
183 <dl><dt><a name="InspectorException-__setstate__"><strong>__setstate__</strong><
/a>(...)</dt></dl> | |
184 | |
185 <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> | |
186 | |
187 <dl><dt><a name="InspectorException-__unicode__"><strong>__unicode__</strong></a
>(...)</dt></dl> | |
188 | |
189 <hr> | |
190 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | |
191 <dl><dt><strong>__dict__</strong></dt> | |
192 </dl> | |
193 <dl><dt><strong>args</strong></dt> | |
194 </dl> | |
195 <dl><dt><strong>message</strong></dt> | |
196 </dl> | |
197 </td></tr></table></td></tr></table> | |
198 </body></html> | |
OLD | NEW |