File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " testcafe-browser-provider-lambdatest" ,
3- "version" : " 2.0.26 " ,
3+ "version" : " 2.0.27 " ,
44 "description" : " lambdatest TestCafe browser provider plugin." ,
55 "repository" : " https://github.com/LambdaTest/testcafe-browser-provider-lambdatest" ,
66 "homepage" : " https://github.com/LambdaTest/testcafe-browser-provider-lambdatest" ,
Original file line number Diff line number Diff line change @@ -282,12 +282,9 @@ async function _parseCapabilities (id, capability) {
282282
283283 if ( browserName && browserName . trim ( ) . toLowerCase ( ) === 'safari' && browserVersion && browserVersion . split ( '.' ) [ 0 ] > 11 && ! ( 'enableCustomTranslation' in capabilities [ id ] ) ) capabilities [ id ] . enableCustomTranslation = true ;
284284
285- if ( ! browserVersion || browserVersion === 'any' ) {
286-
285+ if ( ! browserVersion || browserVersion === 'any' && additionalCapabilities [ capability ] !== undefined ) {
287286 const browserVersionKey = additionalCapabilities [ capability ] [ 'browserVersion' ] ;
288-
289287 if ( browserName && browserName . trim ( ) . toLowerCase ( ) === 'firefox' && browserVersionKey && browserVersionKey . split ( '.' ) [ 0 ] > 47 && ! ( 'enableCustomTranslation' in capabilities [ id ] ) ) capabilities [ id ] . enableCustomTranslation = true ;
290-
291288 if ( browserName && browserName . trim ( ) . toLowerCase ( ) === 'safari' && browserVersionKey && browserVersionKey . split ( '.' ) [ 0 ] > 11 && ! ( 'enableCustomTranslation' in capabilities [ id ] ) ) capabilities [ id ] . enableCustomTranslation = true ;
292289
293290
You can’t perform that action at this time.
0 commit comments