Skip to content

Commit 8efb2eb

Browse files
author
Vasyl Vavrychuk
committed
fixed passing capabilities
1 parent d41703f commit 8efb2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/webdriver-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ webdriver.ExistingSessionBuilder.prototype.build = function() {
3939
if (sessions[0])
4040
return sessions[0];
4141
else
42-
return webdriver.WebDriver.createSession(executor, self.getCapabilities()).getSession();
42+
return webdriver.WebDriver.createSession(executor, self.getCapabilities().toJSON()).getSession();
4343
});
4444
return new webdriver.WebDriver(session, executor);
4545
};

0 commit comments

Comments
 (0)