title: How to skip Chrome Welcome screen, every time I run Appium, Ruby test
body: <p>I'm new to Appium. So my requirement is to run web driver test through Appium in simulator but when I run every time chrome always shows the welcome screen which I have to manually skip to see the test result and take screen shots. How to skip the chrome welcome screen?</p>
  
  <p>Below is my settings
  Appium 1.5.3
  Mobile platform/version under test: Android 7.1
  Real device or emulator/simulator: Emulator</p>
  
  <p>This is what I have in my env.rb file</p>
  
  <pre><code>begin
    system 'adb uninstall io.appium.settings'
    system 'adb uninstall io.appium.unlock'
    $driver = Appium::Driver.new(desired_caps).start_driver
  rescue Exception =&gt; e
    puts e.message
    Process.exit(0)  
   end
  else # else create driver instance for desktop browser
   begin
     $driver = Selenium::WebDriver.for(:"#{$browser_type}")
     $driver.manage().window().maximize()
   rescue Exception =&gt; e
     puts e.message
     Process.exit(0)
   end
  end
  </code></pre>