Questions tagged [cefpython]

CEF Python is an open source project founded by Czarek Tomczak in 2012 to provide python bindings for the Chromium Embedded Framework

82 questions
1
vote
1 answer

Closing wxPython app on a separated thread runs into a window alert

I have a Flask-SocketIO server, which initialize a GUI in a separated thread. if __name__ == '__main__': if len(sys.argv) > 1 and sys.argv[1] == 'dev': print "Running Flask-SocketIO on dev mode" else: print "Running…
1
vote
1 answer

Close cefpython clientand restart a new one

During the application flow I would like to close cefpython running client and open a new one; I've this function .... while True: settings = {...} settings2= {...} cef.Initialize(settings=settings) self.BROWSER =…
user1683737
  • 51
  • 1
  • 1
  • 5
1
vote
1 answer

CEFPython change proxy programmatically

I'm using cefpython for my projects and I would like to change the proxy settings programmatically. The application flow is this: application try to connect to internert services, if doesn't works ask to the user for proxy setting user insert proxy…
user1683737
  • 51
  • 1
  • 1
  • 5
1
vote
1 answer

Mac : Application exited with code 255, illegal signal 0X04

I am working on a python app which includes a CEFPython3 browser inside the app. The app is getting correctly compiled and when I run our_app.py, everything works just fine. But when I package it with py2app, then I get these errors. What exactly is…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
1
vote
1 answer

Include CefPython library in setup.py

I am working on packaging our Python app and Py2App on Mac is not including CefPython library which forms the basis of our app. From what I can see in the app contents, it includes the entire Python3 library, but not CEFPython. How can I add…
We are Borg
  • 5,117
  • 17
  • 102
  • 225
1
vote
1 answer

Error:interface_registry.cc(203) blink::mojom::SensitiveInputVisibility

Not sure of getting the error either the cefpython or wxpython. Below are the different versions used and Error log. Version using:- CEF Python 57.0 Python 2.7.12 64bit wxPython 4.0.0a1 gtk2…
Dinesh
  • 85
  • 1
  • 9
1
vote
1 answer

How to bind cefpython browser object to BoxSizer in wxpython?

I have created custom maximize frame using wxpython. On the panel top, custom close button and bottom cefpython browser need to be a contains. To separation, I have used BoxSizer. CreateBrowserSync is returning the browser object so for this reason,…
Dinesh
  • 85
  • 1
  • 9
1
vote
0 answers

Dark color appearing on the frame while executing the cefpython code in ubuntu VM 16.04

I have referred this link. where you can see the branches from their goto examples/wxpython.py copy that file and execute the code in window platform it's working fine on window platform but in Ubuntu virtual machine 16.04 version the frame turning…
Dinesh
  • 85
  • 1
  • 9
1
vote
2 answers

Controlling cefpython with selenium webdriver

I am trying to control cefpython (cefpython3==57.0) chromium embedded framework with selenium (chromedriver.exe==2.9) I have came so far from beginning, i searched every corner of the web to find none on this topic. It would be great if anyone have…
Vaas
  • 69
  • 1
  • 12
1
vote
1 answer

CEFPython won't initialized when called from an application

I have a very very specific problem. I am trying to figure out a way to embed an HTML brower in my app, in order to show some generated HTML content with included javascript. I tried to do it with wx.html2, but the javascript part just seems to not…
ThylowZ
  • 55
  • 7
1
vote
1 answer

Cefpython GetText() function

Hello everyone I am trying to print to the console the html of url. I took the code from tutorial.py that free in the open source. That is the class: class LoadHandler(object): def OnLoadingStateChange(self, browser, is_loading, **_): …
1
vote
1 answer

CEF Python Proxy Authentication

Is there a way to add Proxy Authentication in CEF Python? The best answer I could find is here. The problem is that the code is written in C# and I couldn't manage to convert it to Python.
ThousandSteps
  • 67
  • 1
  • 7
1
vote
1 answer

cefpython get and exe and need to run with admin on win7 otherwise it will fail and say msvcr90.dll error

I have add the need files to compile folder such as def get_cefpython_path(): from cefpython3 import cefpython path = os.path.dirname(cefpython.__file__) return "%s%s" % (path, os.sep) def get_data_file(): cefp =…
1
vote
1 answer

Using cefpython in pyqt. When setLayout() get browser releasing shared request context and can not show

This code is just get from Github example and I want to add my own titlebar.But when execuate to setLayout(mainlayout) in class MainFrame, the cefpython would do this: [CEF Python] RemovePyBrowser: releasing shared request context [CEF Python] del…
1
vote
1 answer

cefpython3 (cefwx example2) iCCP: known incorrect sRGB profile

How do i fix or ignore this warning popup? The example works fine, but this warning popup keeps showing. I looked around for a solution and image magic seems to be the fix. However, there are no images causing this problem in the sample code. I'm…