Options for embedding Chromium instead of IE WebBrowser control with WPF/C#

Updated for 2020, I've linked my article where I compare the memory footprints of different approaches to hosting HTML WebView in a basic Windows Desktop application: MSEdge WebView2...

Format and send seamless audio from JS to local PyAudio

I'm using Unix sockets to stream audio from my microphone (via an Electron NodeJS app) to a python program listening on the socket and sending the audio to PyAudio for playback. Electron app...

Hosted Breakpad server (Electron Crash Reporter)

I want to setup a service to collect breakpad crash reports (specifically for an Electron app using Electron Crash Reporter:...

Acquire renderer process id in Electron

In Electron, the renderer process's pid was exposed by processId = require('remote').getCurrentWindow().getProcessId() which, however, is no longer valid in recent releases (1.4.x, 1.5.x,...

Electron require() is not defined

I'm creating an Electron app for my own purpose. My problem is when I'm using node functions inside my HTML page it throws an error of: 'require()' is not defined. Is there any way to use Node...

electron-forge how to specify a source directory for packaging?

I've rigged create-react-app with the electron-forge app and now I need to somehow specify the build folder produced from the CRA for the packaging. That folder should also be served. Would such a...

Modules not found when using express

I want to expose REST service in electron app and I want to use expressJS with electron, as tutorial states I added express and @types/express. I tried to expose a "get " but when I build and run...

'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'

I am try to convert my electron app to full web. when I am running the app from my localhost I get this error: Failed to load https://agrt.herokuapp.com/login: Response to preflight request...

Electron zoom level changed event

Is there any event fired when the webContent zoom level is in/decreased or reset? When I do a Zoom resize, using the default View menu items, the content is resized, but not the window size. And...

Tips on solving 'DevTools was disconnected from the page' and Electron Helper dies

I've a problem with Electron where the app goes blank. i.e. It becomes a white screen. If I open the dev tools it displays the following message. In ActivityMonitor I can see the number of...

How to implement drag and drop in cypress test?

I am struggling to test drag and drop with Cypress and Angular Material Drag and Drop. So the goal is to move "Get to work" from Todo to Done. I have created the following test, that should make...

Electron Autoupdater with Private GitHub Repository?

I have implemented Electron AutoUpdater with PRIVATE GitHub Repository as provider to publish electron application. Now, i can publish it using GitHub repository but Whenever AutoUpdater tries to...

Notarizing Electron apps throws - "You must first sign the relevant contracts online. (1048)" error

I am trying to Notarize an electron app to make it run on macOS Catalina. The packaging was successful but the xcrun altool command is throwing "You must first sign the relevant contracts online....

How to enable chrome:webrtc-internals in electron to download webrtc getstats files

we are trying to download the logs from chrome://webrtc-internals, The approach is open chrome://webrtc-internals in electron background when the call is accepted and download stats file when...

Is Using HTML5 canvas a good idea for Electron.JS?

I want to make an electron app that is similar to scratch in which it uses drag and drop features. I want to make these features using canvas. However, I don't know if this is a good idea as I...

Closing Electron app does not stop the script

I have a bit of a problem that I hope someone could help me with. I have an Electron + React desktop application, and I need to handle properly its closing. When I close the aplication (click on...

Enabling hardware acceleration in electron app

I am building an app using electron and react. In that i need to conditionally enable and disable hardware acceleration of app. I can disable it as below. But I did not find any thing in electron...

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...

this.util.TextEncoder is not a constructor only in electron app (works in chrome)

I am creating a body segmentation app using tensorflow bodypix model. It works fine in the browser. I am using webpack to use its modules(see below) import * as wasm from...

Electron 11 only shows Web Content after resize, minimize or drag Main Window

I'm building an app with Electron, Capacitor, Ionic and Angular. My app runs smooth without any problems if I use electron version 10.2.0, but if I upgrade to Electron 11.2.0 my app starts with an...

Electron application architecture - IPC vs API

I am digging into Electron and I am now looking for the best way to create the architecture of an application. So far it seems that the best thing to do would be to separate concerns - let the...

How to compile Python + Electron JS into desktop app (exe)

I created a desktop application using python as the backend and Electron JS integrated with Node JS as the front end. The image below is the file tree for my project. I was able to link up both...

Could not load reporter by name: cypress-testrail-reporter

I'm trying to publish my cypress test result into testrail with cypress-testrail-reporter I set up my cypress.json as follows { "baseUrl": "https://myAppUrl.xyz", "viewportWidth": 1920, ...

Electron toast actions on Windows

I am seeking an example of Electron notifications using toastxml actions. How can I check and act on clicking the action button? So far I found I can make notifications like this: const...

Cannot load inline font in Electron-Forge/Webpack

When import 'semantic-ui-css/semantic.min.css' into a brand new Electron-Forge/Webpack5 project, I get the following: UnhandledSchemeError: Reading from...

Auth0 with Electron working in development but not when packaged

Im using Auth0 in an electron app to manage a log-in system. I referenced this tutorial here: https://auth0.com/blog/securing-electron-applications-with-openid-connect-and-oauth-2/ to get started...

Firebase web 9.0.1 error Package path . is not exported

I've installed [email protected], using yarn. The package seems working fine but it gives an error just after running yarn install as given. Module not found: Error: Package path . is not exported...

Failure during cypress open after cypress v8.4.0 upgrade

I'm trying to use cypress 8.4.0. Used 'npm install cypress --save-dev' to install it. However, after installation, running any command npx cypress open/ run end up with error. It looks like this...

Error: ERR_FAILED (-2) loading electronjs when closing and opening new window

I'm trying to open a app loader like window that will open first upon running the app just to cover some async scripts running and upon completion, the loader window will close and open the main...

NPM warning: 'unsupported engine'

I entered the command npm install -D tailwind css postcss autoprefixer vite in VS-Code. My environment is: NPM version: 8.1.2 Node.js version: 16.13.1 Which resulted in following warning: npm...