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

Issue in chrome driver #3

Open
DeLaGuardo opened this issue Sep 24, 2013 · 5 comments
Open

Issue in chrome driver #3

DeLaGuardo opened this issue Sep 24, 2013 · 5 comments
Assignees
Labels

Comments

@DeLaGuardo
Copy link

When test started with flag -b chrome new chrome tab flashing for 1 second and close.

In console:

Running tests
Running Browser: Google Chrome
>> ERROR: TypeError: Cannot call method 'fin' of undefined

In chromedriver.log:

[0924/142020:INFO:chromedriver_server.cc(76)] Handling request: /session {}
[0924/142020:INFO:chromedriver_server.cc(81)] Done handling request: 200 {"sessionId":"","status":13,"value":{"message":"unknown error: cannot find dict 'desiredCapabilities'\n  (Driver info: chromedriver=0.7,platform=Mac OS X 10.9.0 x86_64)"}}

Investigation gave me reference to chromium bug

@asciidisco
Copy link
Member

I updated & released the driver this morning.
Could you please retest with the latest version 0.0.4?

If the error is still there, could you please give me an update which OS & which OS Version you are using.
Thanks.

@DeLaGuardo
Copy link
Author

Bug repeated, chrome still flashing and closing.
In console:

> dalek test/first.coffee -b chrome
Running tests
Running Browser: Google Chrome
OS: Mac OS X 10.9.0 x86_64
Browser Version:

RUNNING TEST - "Page title is correct"
▶ OPEN http://jetradar.com
✘ TITLE
0 EXPECTED: Search and compare flights on JetRadar. We'll help you find best airfares
0 FOUND: [object Object]
0 MESSAGE: It has title
▶ TYPE #search_origin_name
▶ WAIT 10000 ms
> dalek -v
DalekJS CLI Tools Version: 0.0.2
DalekJS  local install: 0.0.2

My package.json

{
  "name": "myapp",
  "description": "Tests for myapp",
  "version": "0.0.1",
  "devDependencies": {
    "dalekjs": "latest",
    "dalek-browser-chrome": "latest",
    "dalek-reporter-html": "latest"
  }
}

@asciidisco
Copy link
Member

Okay. As long as there is no update for the chromedriver binary, this issue will exist.
When the next chromedriver is out & the dalek browser plugin is updated, I come back to you for verifying again.

@ghost ghost assigned asciidisco Oct 7, 2013
@kvervo
Copy link

kvervo commented Nov 1, 2013

Hi @asciidisco!

The issue still persists.

  • DalekJS CLI Tools Version: 0.0.3
  • dalek-browser-chrome: 0.0.7
  • dalekjs: 0.0.8
Running tests
☁ [SYSTEM] dalek-internal-driver: Loading driver: "native"
☁ [SYSTEM] dalek-browser-chrome: Started ChromeDriver
Running Browser: Google Chrome
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session
☁ [WEBDRIVER] webdriver: {"sessionId":"948a1f7addd94fe8ff4e08111a574676","status":13,"value":{"message":"unknown error: Chrome failed to start: was killed\n  (Driver info: chromedriver=2.3,platform=Mac OS X 10.9.0 x86_64)"}}
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/948a1f7addd94fe8ff4e08111a574676/window/current/size
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.3,platform=Mac OS X 10.9.0 x86_64)"}}
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/status
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Mac OS X","version":"10.9.0"}}}
OS: Mac OS X 10.9.0 x86_64
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/session/948a1f7addd94fe8ff4e08111a574676
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.3,platform=Mac OS X 10.9.0 x86_64)"}}
Browser Version: 

RUNNING TEST - "Page title is correct"
☁ [WEBDRIVER] webdriver: 200 POST /wd/hub/session/948a1f7addd94fe8ff4e08111a574676/url
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.3,platform=Mac OS X 10.9.0 x86_64)"}}
▶ OPEN http://google.com
☁ [WEBDRIVER] webdriver: 200 GET /wd/hub/session/948a1f7addd94fe8ff4e08111a574676/title
☁ [WEBDRIVER] webdriver: {"sessionId":"","status":6,"value":{"message":"no such session\n  (Driver info: chromedriver=2.3,platform=Mac OS X 10.9.0 x86_64)"}}
✘ TITLE
0 EXPECTED: Google
0 FOUND: [object Object]
0 MESSAGE: It has title
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
✘ TEST - "Page title is correct" FAILED
☁ [SYSTEM] dalek-browser-chrome: Shutting down ChromeDriver

Is this an issue of the driver or DalekJS ?

@aral
Copy link

aral commented Jun 15, 2014

I just ran into this also. Is anyone able to use the Chrome driver?

Update: Actually, scratch that, I just updated Chrome to the latest (35.0.x) and it’s working now. I was at some woefully outdated version as I don’t use it often (28.x).

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

4 participants