electron-userland / spectron

DEPRECATED: 🔎 Test Electron apps using ChromeDriver
http://electronjs.org/spectron
MIT License
1.68k stars 229 forks source link

web contents not loaded when spectron runner starts #844

Open rdandnayak opened 3 years ago

rdandnayak commented 3 years ago

FYI. i am trying this on windows system I still am facing this issue image

image

Originally posted by @rdandnayak in https://github.com/electron-userland/spectron/issues/174#issuecomment-765107906

zschreur commented 3 years ago

I am also running into this issue. Electron v10 & Spectron v12

soumendudas22 commented 3 years ago

I am also facing the same issue in Electron v11.2.1 & Spectron v13.0.0

chrisandoX commented 3 years ago

+1 I also face the same problem Electron v11.2.1 & Spectron v13.0.0

kurtyczanka commented 3 years ago

Any update on it?

eramudeep commented 3 years ago

I am also running into this issue. Electron v13 & Spectron v15 Been 3 Days :(

woophi commented 3 years ago

+1 on electron v13 spectron v15

goosewobbler commented 3 years ago

I think this issue is a result of Spectron not being properly updated since forever, whilst Electron development has been on a tear. I got frustrated with the lack of updates and code quality but since I like the interface I thought I'd fork it in order to see if I can get it working with modern Electron and nodeIntegration: false, etc.

I ripped out a lot of functionality but it seems to be getting somewhere, got it loading and clicking a button anyway. Basically stripping it back to the things you really need - BrowserWindow and WebContents access, WebDriver integration. PRs welcome.

https://github.com/goosewobbler/spectron

Other options - since Cypress removed their Electron support - as far as I can tell it's just this or perhaps:

Noodle-Bug commented 3 years ago

Also having this issue. I see issues on this going back to 2017, but not really any fixes mentioned.

The only thing I can find is #226 which was originally done in 2017 and reviewed in 2019, but it doesn't look like it was ever actually merged.