Pull in system logs from /tmp/flaky_logs.txt

  Minitest.after_run do
    if $driver
      file = '/tmp/flaky_logs.txt'
      begin
        File.open(file, 'w') do |f|
          f.write $driver.driver.manage.logs.get :logcat
        end
      rescue # we're probably on iOS
        File.open(file, 'w') do |f|
          f.write $driver.driver.manage.logs.get :syslog
        end
      end
      $driver.x
    end
  end