title: How to attach Screen shot in Robot framework report
body: <p>I tried to attach screen shot in robot framework using Take Screenshot Keyword
  got an error like in logs</p>
  
  <pre><code>Taking screenshot failed: Taking screenshots is not supported on this platform by default. See library documentation for details.
  Make sure tests are run with a physical or virtual display"
  </code></pre>
  
  <p>I use "Take Screenshot  product.jpg  80%" in robot framework Test Cases</p>
  
  <pre><code>*** Settings ***
  Library  File.py
  Library  SeleniumLibrary
  Library  SeleniumScreenshots
  Library  Screenshot
  
  *** Test Cases ***
  Add product to the Shopping Cart
      Search the product in home page
      Select first product
      #Capture page screenshot  product.png
      Take Screenshot  product.jpg  80%
      Select the size of product
      Select the product to shopping cart
      Take Screenshot  Cart.png  80%
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/q4MyL.png" rel="nofollow noreferrer">screenshot</a></p>