CEF Python is an open source project founded by Czarek Tomczak in 2012 to provide python bindings for the Chromium Embedded Framework
Questions tagged [cefpython]
82 questions
1
vote
0 answers
How to make browser background transparent using cefpython?
how to change a white color to transparent on a browser using cefpython?
already check this and this
but i cant understand how to do it
from cefpython3 import cefpython as cef
import platform
import sys
URL = "urlllll"
def create_browser(cef,…

Baltschun Ali
- 376
- 3
- 12
1
vote
0 answers
Opening different file extensions and installing plugins in cefpython3
I am using django for my web application. At client side i am using cef browser (cefpython3). My aim is to open a file in the web browser itself. For now i am able to open .txt, .py, .pdf, .png, .jpeg, .mp3 and .mp4 extensions.
How to open these…

josh
- 11
- 2
1
vote
0 answers
Wht GetPostData() returns { } using cefpython3?
I can't understand why if i launch this, fill the registration form in github and click "sign up" post data is {}.
I'm using python 3.7, cefpython 66.0
code:
import tkinter as tk
from tkinter import messagebox
from cefpython3 import cefpython as…

Zeno Dalla Valle
- 957
- 5
- 16
1
vote
1 answer
How can i set up high dpi on cefpython running on python3 without display bugs?
I have a code that used to run fine on python2. This code is a cefpython browser very similar to wxpython example located on git repository of cefpython. Now i moved to python3 and I am facing display bugs like the one of this picture:
The code…

Ricardo Goncalves
- 315
- 3
- 15
1
vote
1 answer
Javascript python communication
With CEFPython can we create the prototype of a javascript function and build the function in python?
def somme(self,b,a):
…

Carlos Maloba
- 11
- 1
1
vote
0 answers
debugging a Javascript function that runs fine on every browser but not if rendered via CefPython
I am woking on a CEFPython based project in which I am trying to render a webpage having javascript html and css. In this there seems to be some issue with a long javascript function (~980 lines), but while running the same code on the browser it…

OshoParth
- 1,492
- 2
- 20
- 44
1
vote
2 answers
How to enable external file linking in CefPython?
I am working on a CEFPython application that requires me to include some external files like JS or CSS libraries.However any external path (Referring to external libraries present in the same folder and the online resource URL both) mentioned in the…

OshoParth
- 1,492
- 2
- 20
- 44
1
vote
0 answers
CEFpython browser loads blank white page on windows, but works perfectly on mac
I edited the code from CEFpython's github page, the one that uses wxPython. It works fine on my mac but when the browser launches on windows it only loads a blank white screen.
I'm trying out both wxPython and CEFpython for the first time.
I am…

Mipo Newton
- 23
- 4
1
vote
1 answer
Back button in cefpython3
I am trying to convert a web application into a desktop application by embedding cefpython3.
The application (sometimes) requires the back button for navigation.
Is there a simple way (ie without requiring another graphics framework like Qt) to get…

Ruediger Jungbeck
- 2,836
- 5
- 36
- 59
1
vote
1 answer
CEFPython window closed without warning when transfering large data
I am trying to create this python binding to a electronjs app I create, where the python part is used to analyze data, and the result (a python dictionary) is passed to the web browser to be visualized. It all worked like a charm for small amount of…

lxiangyun93
- 77
- 1
- 7
1
vote
1 answer
CEF Python Hide Browser
I create a Browser:
browser = cef.CreateBrowserSync(url=os.path.dirname(os.path.abspath(__file__))+'\\gui.html', window_title="Title")
Is there any way to hide and show the window whenever I want?

wololo
- 15
- 5
1
vote
1 answer
How to set a CEF window icon (in python)
Not wx, gtk3, pyqt etc...
I need something like:
cef.Initialize(settings=settings)
window_info = cef.WindowInfo()
browser = cef.CreateBrowserSync(url="localhost:8080/", window_title="Hello World!" icon="myicon.png")

Fabio Di Matteo
- 35
- 5
1
vote
1 answer
CEFPython app - How to call JSON file from HTML
I'm taking my first steps using CEF. I know some Python so I'm using CEFPython. I'm making a simple app processing some data from a local DB with Python and then writing that data to a JSON file. The goal is to finally show the JSON data nicely…

I B
- 31
- 3
1
vote
0 answers
How to retrieve the JS window object in cefpython
I'm developing a Python application based on the cefpython3. I need to fetch JS window object once the web page is loaded and the JS context is created, and retrieve functions and objects that have been created.
I already read its documents, but…

Sina Yazdanmehr
- 55
- 1
- 7
1
vote
1 answer
Change auto_zooming parameter at runtime on cefpython
I have a Flask app that render some page on localhost:3000. To display correctly this page on every computer i use chromium browser (Basically WXpython example from cefpython3 with minor changes:…

Ricardo Goncalves
- 315
- 3
- 15