Open cztomczak opened 7 years ago
Would this feature allow manipulation of the DOM directly from Python? Right now the need to constantly shunt everything through JavaScript kind of undercuts the utility of being able to embed the browser. It would be nice to be able to do all the actual DOM manipulation in Python, without having to sully ourselves with JS at all :-).
CEF DOM API is very limited, many things are still required to be done using Javascript. CEF DOM API functions can be found in cef_dom.h header file: https://github.com/cztomczak/cefpython/blob/master/src/include/cef_dom.h
Most of Python code is running in application's main process. The Python code running in the Renderer process can communicate only asynchronously with the Python code in the main process.
Materials for embedding Python using C++: