Skip to content

Instantly share code, notes, and snippets.

@christian-bromann
Created September 9, 2015 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christian-bromann/de3c0255da4ae4512247 to your computer and use it in GitHub Desktop.
Save christian-bromann/de3c0255da4ae4512247 to your computer and use it in GitHub Desktop.
microsoftedge driver array/object bug
[{
"a": 1,
"b": 2
}, {
"c": 3,
"d": [1, 2, 3, 4, 5],
"e": [{
"some": "object",
"other": "thing"
}]
}]
{
"0": {
"a": 1,
"b": 2
},
"1": {
"c": 3,
"e": {
"0": {
"other": "thing",
"some": "object"
}
},
"d": {
"0": 1,
"1": 2,
"2": 3,
"3": 4,
"4": 5
}
}
}
/**
* see job at Sauce Labs: https://saucelabs.com/beta/tests/bfd73c5c97d743859bc84f77ae6a39d0
*/
var client = require('webdriverio').remote({
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
desiredCapabilities: {
browserName: 'microsoftedge',
platform: 'Windows 10',
version: '20.10240'
}
});
client
.init()
.url('http://google.com')
.execute(function() {
return [{
'a': 1,
'b': 2
}, {
'c': 3,
'd': [1, 2, 3, 4, 5],
'e': [{
'some': 'object',
'other': 'thing'
}]
}]
}).then(console.log)
.end();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment