Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeDriver crashes when trying to start the exe program #69

Open
kellyshang opened this issue Sep 18, 2020 · 2 comments
Open

ChromeDriver crashes when trying to start the exe program #69

kellyshang opened this issue Sep 18, 2020 · 2 comments

Comments

@kellyshang
Copy link

(this issue was previous reported on electron-electron/electron#25486, but they suggest me to report here)

Issue Details

  • Electron Version:
    • Desktop app based on Electron 9.1.2, and UI automation test with chromedriver-v9.1.2-win32-x64
  • Operating System:
    • Windows Server 2019, os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_261'
  • Last Known Working Electron version:
    • Desktop app based on Electron 7.1.14, and UI automation test with chromedriver-v7.1.11-win32-x64

Expected Behavior

Start the desktop app normally

Actual Behavior

With chromedriver-v9.1.2-win32-x64, when running UI automation test it always failed, below is the error stack related to the ChromeDriver:
(PS. I also tried the chromedriver-v9.0.2-win32-x64, it fails frequently but sometimes success, it's weried)

[INFO] Running TestSuite
OS is: windows server 2019
The current git commit id is: fd7dca80
Starting ChromeDriver 83.0.4103.94 (8bd9e77c4b04cfdc0d98ce2ab9f1af8e6e457869-refs/heads/master@{#759982}) on port 11376
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.

[TestRunnerListener] Running 31 tests in 'Neuron UI Tests' using 1 threads
....
....
....

[ERROR] com.cryptape.neuron.CreateWalletTest.globalSetup  Time elapsed: 47.775 s  <<< FAILURE!
org.openqa.selenium.WebDriverException: 
unknown error: Chrome failed to start: crashed.
  (unknown error: unable to discover open pages)
  (The process started from chrome location C:\Users\Administrator\AppData\Local/Programs/Neuron/Neuron.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'EC2AMAZ-BU3BFBB', ip: '172.31.34.110', os.name: 'Windows Server 2019', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_261'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
	Ordinal0 [0x00007FF711D322E2+3220194]
	Ordinal0 [0x00007FF711BFFD12+1965330]
	Ordinal0 [0x00007FF711AC1B15+662293]
	Ordinal0 [0x00007FF711A3156D+71021]
	Ordinal0 [0x00007FF711A57B70+228208]
	Ordinal0 [0x00007FF711A54DCF+216527]
	Ordinal0 [0x00007FF711A3658F+91535]
	Ordinal0 [0x00007FF711A3774E+96078]
	Ordinal0 [0x00007FF711C18311+2065169]
	GetHandleVerifier [0x00007FF711E80FB9+1233401]
	GetHandleVerifier [0x00007FF711E80D40+1232768]
	GetHandleVerifier [0x00007FF711E8C09C+1278684]
	GetHandleVerifier [0x00007FF711E815C8+1234952]
	Ordinal0 [0x00007FF711C0F00A+2027530]
	Ordinal0 [0x00007FF711C19AF6+2071286]
	Ordinal0 [0x00007FF711C3280D+2172941]
	BaseThreadInitThunk [0x00007FFEB1CE7974+20]
	RtlUserThreadStart [0x00007FFEB3CBA261+33]

To Reproduce

Run UI automation test with chromedriver-v9.1.2-win32-x64 for desktop which based on Electron 9.1.2

@benignoadame

This comment was marked as off-topic.

@adventurist
Copy link

I'm having similar issues getting electron-chromedriver to launch Electron on Windows 10, and I've tried a variety of versions. I don't have this problem on Linux or Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants