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

Start fails when using remote-debugging-port cmd line switch #19

Open
kamesh-a opened this issue Apr 27, 2016 · 2 comments
Open

Start fails when using remote-debugging-port cmd line switch #19

kamesh-a opened this issue Apr 27, 2016 · 2 comments
Labels

Comments

@kamesh-a
Copy link

kamesh-a commented Apr 27, 2016

@kevinsawicki thanks for working on this. It's awesome to directly test with electron app, Adding below lines to electron default app, is sufficient to reproduce this, thought of adding this as issue, in turn might help someone save time.

Ex : 
var app = require('app');
app.commandLine.appendSwitch('remote-debugging-port', '9222');
@kevinsawicki
Copy link
Collaborator

Looked into this a bit, not sure there is a way to externally detect this and show a better error message than a regular timeout.

@kevinsawicki kevinsawicki changed the title Adding [remote-debugging-port] cmd line switch, webdriver IO fails at init Init fails when using remote-debugging-port cmd line switch May 19, 2016
@kevinsawicki kevinsawicki changed the title Init fails when using remote-debugging-port cmd line switch Start fails when using remote-debugging-port cmd line switch May 19, 2016
@tinchoabbate
Copy link
Contributor

I know this is already kind of documented here as an issue (a bit outdated in my defense 😃), but it would be really really nice if this was explicitly stated in the docs as a warning. I spent an entire day trying to figure out why on earth Spectron would not run any of my tests, until I ran into this issue to finally find the answer.

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

No branches or pull requests

3 participants