Skip to content

Commit 110f36b

Browse files
author
PeterNgTr
committed
fix bug
1 parent dc0e907 commit 110f36b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ module.exports = (config) => {
113113
});
114114

115115
this._getSessionId = function () {
116-
if (helper.WebDriver) {
117-
return helper.WebDriver.browser.sessionId;
116+
if (helper.helpers.WebDriver) {
117+
return helper.helpers.WebDriver.browser.sessionId;
118118
}
119-
if (helper.Appium) {
120-
return helper.Appium.browser.sessionId;
119+
if (helper.helpers.Appium) {
120+
return helper.helpers.Appium.browser.sessionId;
121121
}
122122
throw new Error('No matching helper found. Supported helpers: WebDriver/Appium');
123123
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeceptjs-bshelper",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Browserstack Result Publisher for Codecept JS tests",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)