Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request admc#560 from vtabary/master
Browse files Browse the repository at this point in the history
Fix a typo on sessionID in webdriver
  • Loading branch information
admc committed Oct 16, 2018
2 parents 321fbfa + b9678b7 commit cc30fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Webdriver.prototype._init = function() {
// retrieving session
try{
jsonData = JSON.parse(data);
_this.sessionId = jsonData.value ? jsonData.value.sessionId : false;
_this.sessionID = jsonData.value ? jsonData.value.sessionId : false;
resData = jsonData.value;

if(!_this.sessionID && jsonData.status === 0 ){
Expand Down

0 comments on commit cc30fbb

Please sign in to comment.