def devices
      emulators = start_emulators
      sleep 10
      devices = `adb devices`.split("\n").select { |x| x.include? "\tdevice" }.map.each_with_index { |d, i| {avd: emulators[i], platform: 'android', name: 'android', udid: d.split("\t")[0], wdaPort: 8100 + i, thread: i + 1} }
      devices = devices.map { |x| x.merge(get_android_device_data(x[:udid])) }

      ENV['DEVICES'] = JSON.generate(devices)
      devices
    end
def devices
      emulators = start_emulators
      sleep 10
      devices = `adb devices`.split("\n").select { |x| x.include? "\tdevice" }.map.each_with_index { |d, i| {avd: emulators[i], platform: 'android', name: 'android', udid: d.split("\t")[0], wdaPort: 8100 + i, thread: i + 1} }
      devices = devices.map { |x| x.merge(get_android_device_data(x[:udid])) }

      ENV['DEVICES'] = JSON.generate(devices)
      devices
    end
Devices after cleanup and supplemental data included