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

Class LifespanHandler

examples/snippets/mouse_clicks.py:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42class LifespanHandler(object):
43 def OnLoadEnd(self, browser, **_):
44 # Execute function with a delay of 1 second after page
45 # has completed loading.
46 print("Page loading is complete")
47 cef.PostDelayedTask(cef.TID_UI, 1000, click_after_1_second, browser)
48
49
50if __name__ == '__main__':

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected