ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

"unknown command: sessions" when i try to get all session ids #1020

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I wanna get all session ids to close all chromes, but when i try following

roroco@roroco ~/Dropbox/rbs/ro_cmds $ chromedriver --version
ChromeDriver 2.13.307649 (bf55b442bb6b5c923249dd7870d6a107678bfbb6)
roroco@roroco ~/Dropbox/rbs/ro_cmds $ chromedriver --port=9515
Starting ChromeDriver 2.13.307649 (bf55b442bb6b5c923249dd7870d6a107678bfbb6) on 
port 9515
Only local connections are allowed.

roroco@roroco ~/Dropbox/rbs/ro_cmds $ curl localhost:9515/sessions
unknown command: sessions

my quetion is why i get unknown command: sessions, I find "sessions" is exist 
in https://code.google.com/p/selenium/wiki/JsonWireProtocol

Original issue reported on code.google.com by rorocode...@gmail.com on 28 Dec 2014 at 5:14

GoogleCodeExporter commented 9 years ago
this is my chrome version:

Google Inc.
Copyright 2014 Google Inc. All rights reserved.
Google Chrome   39.0.2171.95 (Official Build) 
Revision    86b48442d063e82f94969f5439badf11c9baeacc-refs/branch-heads/2171@{#461}
OS  Linux 
Blink   537.36 (@186555)
JavaScript  V8 3.29.88.17
Flash   16.0.0.235
User Agent  Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/39.0.2171.95 Safari/537.36
Command Line    /usr/bin/google-chrome --flag-switches-begin --flag-switches-end
Executable Path /opt/google/chrome/google-chrome
Profile Path    /home/roroco/.config/google-chrome/Default
Variations  e950616e-ca7d8d80
e9f4800b-39c30599
f1eb96ab-3d47f4f4
19f73432-ca7d8d80
76b48ab8-a2567007
c70841c8-4866ef6e
15e1b27b-3f4a17df
1d3ad72e-1c1c261b
9e5c75f1-ad69ceb0
f79cb77b-3d47f4f4
24dca50e-837c4893
ca65a9fe-91ac3782
8d790604-9cb2a91c
4ea303a6-3d47f4f4
d8f57532-3f4a17df
61544484-ca7d8d80
9736de91-ca7d8d80
b2612322-f8cf70e2
5a3c10b5-e1cc0f14
244ca1ac-4ad60575
5e29d81-cf4f6ead
3ac60855-486e2a9c
246fb659-3a9ae350
f296190c-a5822863
4442aae2-6e597ede
ed1d377-e1cc0f14
75f0f0a0-4ad60575
e2b18481-bca011b3
e7e71889-e1cc0f14
cbf0c14e-bf3e6cfd

Original comment by rorocode...@gmail.com on 28 Dec 2014 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18