You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Failed to create session.
session not created: This version of ChromeDriver only supports Chrome version 87
Current browser version is 94.0.4606.81 with binary path
I read that this can be caused by mismatching Spectron to electron versions. This is what I am using:
"spectron": "^13.0.0",
"electron": "^15.0.0",
The app is also opening multiple times.
My test code:
constApplication=require('spectron').Application;constelectronPath=require('electron');constpath=require('path');constassert=require('assert');constapp=newApplication({path: electronPath,args: [path.join(__dirname,'..')],});describe('Start up Testing',()=>{this.timeout(100000);beforeEach(()=>{returnapp.start();});afterEach(()=>{if(app&&app.isRunning()){returnapp.stop();}});it('shows an initial window',async()=>{constisVisible=awaitapp.browserWindow.isVisible();expect(isVisible).toBe(true);});});
The text was updated successfully, but these errors were encountered:
I am getting
I read that this can be caused by mismatching Spectron to electron versions. This is what I am using:
The app is also opening multiple times.
My test code:
The text was updated successfully, but these errors were encountered: