Skip to main content

All Questions

0 votes
0 answers
362 views

Take screenshot of a specific area with Electron

I am using Electron to create a Windows application that creates a fullscreen transparent overlay window. The purpose of this application is to: Take a snapshot of a specific area of the screen (by ...
Glis Hulton's user avatar
0 votes
0 answers
272 views

Cypress allows me to keep the session and avoid logging in between specs using Electron, but not using Chrome

I am using Cypress v12.7.0, with Chrome v112 and Electron v106. I have several test specs and I want to run them with npx cypress run --browser chrome. Also, I want the first test to log in the ...
Asier Pérez's user avatar
0 votes
1 answer
121 views

In Electron, why is it only possible to set frame rate in offscreen rendering?

Electron methods that are only possible to use with offscreen rendering This picture was taken from the Electron documentation. My question is why is it only possible to use theses methods in ...
Arnon Asquira's user avatar
0 votes
4 answers
975 views

How to track URL and apps using Electron.js

I am making team management software with electron js. I want to track the URL and apps visited by the user of our app. Then it will go to our server and we will store it. But how to track the URL and ...
Ashikur Rahman Munna's user avatar
0 votes
1 answer
509 views

How to override `location.href` in Electron to a custom URL?

Description Is it possible to modify or override the perceived current location and origin in Electron.js? I am loading a local .html file in Electron, and I need to manually override location.href, ...
David Refoua's user avatar
  • 3,566
5 votes
1 answer
3k views

google chrome gpu error in electron build

I have an electron app that works fine in development. But when I build to linux-x64, and try to open the executable, the program crashes with the error: [xxxx:ERROR:sandbox_linux.cc(377)] ...
sin tribu's user avatar
  • 1,168
0 votes
1 answer
340 views

Avoid Overlapping Browserwindows

I am developing an Electron app. I have Browserwindows on the desktop, but I want to have the same behavior as other windows on the desktop in terms of avoiding overlapping by dockable windows and ...
Hesam's user avatar
  • 46
0 votes
1 answer
2k views

How to open app using custom protocol otherwise download if not installed?

I made an application in electron and packaged it with electron-build for windows. application is registered with myapp://params/ custom protocol. There is a button on my frontend to open that ...
Javed Saifi's user avatar
1 vote
1 answer
3k views

electron: google 403 We're sorry, but you do not have access to this page. That’s all we know

I'm developing an electron application. When I load the google login page using iframe, I get an error: '403. That’s an error. We're sorry, but you do not have access to this page. That’s all we know.'...
oo ddl's user avatar
  • 21
1 vote
0 answers
226 views

How to open an Electron application or open a browser tab/PWA app (focus on it, if already open) via a public URL?

I've been handed a feature where we're given public URLs which will contain some query parameters. Now, this URL should launch the concerned application (I'm the dev for the app) and consume those ...
Arthur's user avatar
  • 108
0 votes
1 answer
50 views

Is there a CSS selector for the actual text inside an input? (for a "text-indent" alternative) [duplicate]

I have this need to perform animations using transform that will mimic the functionality of text-indent in a text input because animating text-indent ends up jittery/laggy. Doing this on Electron so ...
m4heshd's user avatar
  • 902
2 votes
0 answers
2k views

<img> loading attribute lazy load doesn't work for local images

I'm trying to implement lazy loading logic for images on my Electron desktop app. I wanted to use the <img> element with loading attribute to lazy load images; But, I noticed that it only works ...
RudyC's user avatar
  • 21
1 vote
0 answers
126 views

Electron, how to make 100% sure renderer recieves message from main?

When sending messages from main electron(backend) to renderer(browser) with ipcMain.send("plz_recieve", "hello"), i noticed that if the browser window is not in view, like if you ...
CoderBulletStorm's user avatar
6 votes
0 answers
460 views

How to use Hotjar on Electron?

According to Hotjar documentation, Hotjar does not support Electron because Since you use it to create desktop applications and not web applications the Hotjar tracking code cannot be used. Is there ...
Yoav Danieli's user avatar
-1 votes
1 answer
100 views

When trying to copy the css from electron app devtools it is showing empty

I am trying to copy CSS from the electron app debugger, it is showing as empty. Used context menu as well it's not working. Screenshot
MAYANK SHARMA's user avatar

15 30 50 per page
1
2 3 4 5