MCPcopy Create free account
hub / github.com/cztomczak/cefpython / OnLoadingStateChange

Method OnLoadingStateChange

examples/tutorial.py:156–161  ·  view source on GitHub ↗

Called when the loading state has changed.

(self, browser, is_loading, **_)

Source from the content-addressed store, hash-verified

154
155class LoadHandler(object):
156 def OnLoadingStateChange(self, browser, is_loading, **_):
157 """Called when the loading state has changed."""
158 if not is_loading:
159 # Loading is complete. DOM is ready.
160 js_print(browser, "Python", "OnLoadingStateChange",
161 "Loading is complete")
162
163
164class DisplayHandler(object):

Callers

nothing calls this directly

Calls 1

js_printFunction · 0.85

Tested by

no test coverage detected