browsers.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* eslint-env node */
  2. /* eslint-disable camelcase */
  3. const browsers = {
  4. safariMac: {
  5. base: 'BrowserStack',
  6. os: 'OS X',
  7. os_version: 'High Sierra',
  8. browser: 'Safari',
  9. browser_version: 'latest'
  10. },
  11. chromeMac: {
  12. base: 'BrowserStack',
  13. os: 'OS X',
  14. os_version: 'High Sierra',
  15. browser : 'Chrome',
  16. browser_version : 'latest'
  17. },
  18. firefoxMac: {
  19. base: 'BrowserStack',
  20. os: 'OS X',
  21. os_version: 'High Sierra',
  22. browser: 'Firefox',
  23. browser_version: 'latest'
  24. },
  25. edgeWin10: {
  26. base: 'BrowserStack',
  27. os: 'Windows',
  28. os_version: '10',
  29. browser: 'Edge',
  30. browser_version: 'latest'
  31. },
  32. ie11Win10: {
  33. base: 'BrowserStack',
  34. os: 'Windows',
  35. os_version: '10',
  36. browser: 'IE',
  37. browser_version: '11.0'
  38. },
  39. chromeWin10: {
  40. base: 'BrowserStack',
  41. os: 'Windows',
  42. os_version: '10',
  43. browser: 'Chrome',
  44. browser_version: 'latest'
  45. },
  46. firefoxWin10: {
  47. base: 'BrowserStack',
  48. os: 'Windows',
  49. os_version: '10',
  50. browser: 'Firefox',
  51. browser_version: 'latest'
  52. },
  53. ie10Win8: {
  54. base: 'BrowserStack',
  55. os: 'Windows',
  56. os_version: '8',
  57. browser: 'IE',
  58. browser_version: '10.0'
  59. },
  60. iphoneX: {
  61. base: 'BrowserStack',
  62. os: 'ios',
  63. os_version: '11.0',
  64. device: 'iPhone X',
  65. real_mobile: true
  66. },
  67. pixel2: {
  68. base: 'BrowserStack',
  69. os: 'android',
  70. os_version: '8.0',
  71. device: 'Google Pixel 2',
  72. real_mobile: true
  73. }
  74. }
  75. const browsersKeys = Object.keys(browsers)
  76. module.exports = {
  77. browsers,
  78. browsersKeys
  79. }