title: "Message: Expected browser binary location, but unable to find binary in default location" error with Firefox in Robot Framework
body: <p>I'm currently learning to use Robot and have run into an error that I'm not sure how to get around. Running my file I receive a <code>SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line</code> error.</p>
  <p>My code:</p>
  <pre><code>Documentation  Basic info
  Library  SeleniumLibrary
  
  ***Variables***
  
  ***Test Cases***
  Open and close browser
      [Documentation]  Test info
      [Tags]  Smoke
      Open Browser  http://www.amazon.com chrome
      Close Browser
  
  ***Keywords***
  
  </code></pre>
  <p>I'm not even using Firefox in my code, I'm using Chrome. I installed Firefox and I still get the error, I also tried using Firefox in the code and the error remained. Firefox was installed in the default location of <code>C:\Program Files\Mozilla Firefox</code>, this was the default location when I installed Firefox and I have restarted my system. This question is really two questions:</p>
  <ol>
  <li>Why am I getting an error that Firefox can't be located when I'm not even trying to use Firefox?</li>
  <li>Now that I installed Firefox, why isn't Robot able to find the executable?</li>
  </ol>