Skip to content

Commit

Permalink
Merge pull request #99 from rachit-lambdatest/IN-9764
Browse files Browse the repository at this point in the history
[IN-9764] Formatting session name
  • Loading branch information
Shahnawaz-Sk authored Dec 3, 2024
2 parents 3ecf9a7 + ee0dc44 commit c5967dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wdio-lambdatest-service",
"version": "3.0.2",
"version": "3.0.3",
"description": "A WebdriverIO service that manages tunnel and job metadata for LambdaTest.",
"author": "LambdaTest <[email protected]>",
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ export default class LambdaRestService {
if (this._browser.isMultiremote) {
return Promise.all(Object.keys(this._capabilities).map(async (browserName) => {
const browser = this._browser[browserName];
return await browser.execute(cmd);
return await browser.executeScript(cmd.toString(), []);
}));
}
return await this._browser.execute(cmd);
return await this._browser.executeScript(cmd.toString(), []);
}

getSessionURL(sessionId, product) {
Expand Down

0 comments on commit c5967dc

Please sign in to comment.