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

Function main

examples/snippets/onpagecomplete.py:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def main():
10 cef.Initialize()
11 browser = cef.CreateBrowserSync(url="https://www.google.com/",
12 window_title="_OnPageComplete event")
13 browser.SetClientHandler(LoadHandler())
14 cef.MessageLoop()
15 del browser
16 cef.Shutdown()
17
18
19class LoadHandler(object):

Callers 1

onpagecomplete.pyFile · 0.70

Calls 2

SetClientHandlerMethod · 0.80
LoadHandlerClass · 0.70

Tested by

no test coverage detected