File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " wdio-lambdatest-service" ,
3- "version" : " 3.0.2 " ,
3+ "version" : " 3.0.3 " ,
44 "description" : " A WebdriverIO service that manages tunnel and job metadata for LambdaTest." ,
55 "author" :
" LambdaTest <[email protected] >" ,
66 "contributors" : [
Original file line number Diff line number Diff line change @@ -423,10 +423,10 @@ export default class LambdaRestService {
423423 if ( this . _browser . isMultiremote ) {
424424 return Promise . all ( Object . keys ( this . _capabilities ) . map ( async ( browserName ) => {
425425 const browser = this . _browser [ browserName ] ;
426- return await browser . execute ( cmd ) ;
426+ return await browser . executeScript ( cmd . toString ( ) , [ ] ) ;
427427 } ) ) ;
428428 }
429- return await this . _browser . execute ( cmd ) ;
429+ return await this . _browser . executeScript ( cmd . toString ( ) , [ ] ) ;
430430 }
431431
432432 getSessionURL ( sessionId , product ) {
You can’t perform that action at this time.
0 commit comments