Issue 7897 in selenium: Object http://127.0.0.1:4444/wd/hub has no method 'build', or 'withCapabilities'

150 views
Skip to first unread message

sele...@googlecode.com

unread,
Sep 15, 2014, 8:05:51 AM9/15/14
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 7897 by vecheren...@gmail.com: Object
http://127.0.0.1:4444/wd/hub has no method 'build', or 'withCapabilities'
https://code.google.com/p/selenium/issues/detail?id=7897

1.Launch Standalone server with parameters
java -jar ./selenium-server-standalone-2.43.1.jar
-Dwebdriver.chrome.driver=./chromedriver -port 4444
2.Try to build new driver with:
var driver = new
webdriver.Builder().usingServer(http://127.0.0.1:4444/wd/hub).build();
or
var driver = new
webdriver.Builder().usingServer(http://127.0.0.1:4444/wd/hub).withCapabilities('browserName': 'chrome').build();

What is the expected output? What do you see instead?
Expected: Create new driver.
Instead: Error;

Selenium version: Node.js: 2.43.4; SSS(2.43.1);
OS: linux Ubuntu 14.10.1
Browser: Chrome
Browser version: 37

This error apear in selenium-webdriver 2.43.4, when require 2.42.1 there
will be no error with same parameters;


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Sep 15, 2014, 11:36:16 AM9/15/14
to selenium-develope...@googlegroups.com
Updates:
Cc: jmle...@gmail.com
Labels: Lang-Javascript

Comment #1 on issue 7897 by barancev: Object http://127.0.0.1:4444/wd/hub
has no method 'build', or 'withCapabilities'
https://code.google.com/p/selenium/issues/detail?id=7897

(No comment was entered for this change.)

sele...@googlecode.com

unread,
Sep 15, 2014, 12:56:04 PM9/15/14
to selenium-develope...@googlegroups.com
Updates:
Status: Accepted
Owner: jmle...@gmail.com
Cc: -jmle...@gmail.com
Labels: -Status-Untriaged

Comment #2 on issue 7897 by jmle...@gmail.com: Object

sele...@googlecode.com

unread,
Sep 16, 2014, 5:30:15 AM9/16/14
to selenium-develope...@googlegroups.com

Comment #3 on issue 7897 by barancev: Object http://127.0.0.1:4444/wd/hub
has no method 'build', or 'withCapabilities'
https://code.google.com/p/selenium/issues/detail?id=7897

Issue 7905 has been merged into this issue.

sele...@googlecode.com

unread,
Sep 16, 2014, 5:31:14 AM9/16/14
to selenium-develope...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 7897 by barancev: Object http://127.0.0.1:4444/wd/hub
has no method 'build', or 'withCapabilities'
https://code.google.com/p/selenium/issues/detail?id=7897

Fixed by commit 04e511d831ea4f0dc681ad0930465b49d207593b

sele...@googlecode.com

unread,
Sep 16, 2014, 12:46:55 PM9/16/14
to selenium-develope...@googlegroups.com
Updates:
Status: Accepted

Comment #5 on issue 7897 by jmle...@gmail.com: Object
Separate issue - not fixed.

sele...@googlecode.com

unread,
Sep 16, 2014, 1:31:09 PM9/16/14
to selenium-develope...@googlegroups.com

Comment #6 on issue 7897 by barancev: Object http://127.0.0.1:4444/wd/hub
has no method 'build', or 'withCapabilities'
https://code.google.com/p/selenium/issues/detail?id=7897

Oops, sorry :)

sele...@googlecode.com

unread,
Sep 16, 2014, 4:23:40 PM9/16/14
to selenium-develope...@googlegroups.com
Updates:
Status: Fixed

Comment #7 on issue 7897 by jmle...@gmail.com: Object
Argh... This is a duplicate. Sorry for the confusion :-)
Reply all
Reply to author
Forward
0 new messages