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

Function close_devtools

unittests/_common.py:133–137  ·  view source on GitHub ↗
(global_handler)

Source from the content-addressed store, hash-verified

131
132
133def close_devtools(global_handler):
134 main_browser = cef.GetBrowserByIdentifier(MAIN_BROWSER_ID)
135 global_handler.HasDevTools_True = main_browser.HasDevTools()
136 main_browser.CloseDevTools()
137 subtest_message("DevTools popup ok")
138
139
140class GlobalHandler(object):

Callers

nothing calls this directly

Calls 1

subtest_messageFunction · 0.85

Tested by

no test coverage detected