spectron icon indicating copy to clipboard operation
spectron copied to clipboard

web contents not loaded when spectron runner starts

Open rdandnayak opened this issue 3 years ago • 8 comments

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

rdandnayak avatar Jan 27 '21 05:01 rdandnayak

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

zschreur avatar Jan 27 '21 19:01 zschreur

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

soumendudas22 avatar Feb 03 '21 05:02 soumendudas22

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

chrisandoX avatar Feb 05 '21 11:02 chrisandoX

Any update on it?

kurtyczanka avatar May 11 '21 15:05 kurtyczanka

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

eramudeep avatar Jun 14 '21 07:06 eramudeep

+1 on electron v13 spectron v15

woophi avatar Jun 25 '21 06:06 woophi

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:

  • The Exodus fork of Spectron is the only other fork with a significant amount of changes in recent months, I didn't try it yet - it's not available on public NPM but they seem to be maintaining it.
  • PlayWright (rudimentary Electron support, in development)

goosewobbler avatar Jul 16 '21 21:07 goosewobbler

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.

Noodle-Bug avatar Jul 23 '21 13:07 Noodle-Bug