Skip to content

Commit ea1df9e

Browse files
committed
Fix Android 8.x (and future versions) (closes #240)
1 parent db430b2 commit ea1df9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sauce-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SauceBrowser.prototype._start = function () {
5454
}, conf.capabilities)
5555

5656
// Workaround for https://github.com/airtap/browsers/issues/3
57-
if (initOpts.browserName === 'android' && initOpts.version.split('.')[0] === '7') {
57+
if (initOpts.browserName === 'android' && parseInt(initOpts.version) >= 7) {
5858
initOpts.deviceName = 'Android GoogleAPI Emulator'
5959
}
6060

0 commit comments

Comments
 (0)