title: "Warning: Potential Security Risk Ahead" Error in Rselenium and Geckodriver-firefox
body: <p>I'm trying to access a page with RSelenium. I wrote my code in R and it is work fine in Chrome and IE. But when I'm using geckodriver, the firefox shows the below message and i recive an error in my R console:</p>
  
  <p><a href="https://i.stack.imgur.com/yO3B6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yO3B6.jpg" alt="enter image description here"></a></p>
  
  <pre><code>Selenium message:
  Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
  System info:os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_40'
  Driver info: driver.version: unknown
  
  Error:   Summary: UnknownError
       Detail: An unknown server-side error occurred while processing the command.
       class: org.openqa.selenium.WebDriverException
       Further Details: run errorDetails method
  </code></pre>
  
  <p>I found that I should change the firefox profile but it is the python code and I need R: </p>
  
  <pre><code>FirefoxProfile profile = new FirefoxProfile();
  profile.setAcceptUntrustedCertificates(true);
  </code></pre>
  
  <p>It should be like this in R</p>
  
  <pre><code>fprof &lt;- makeFirefoxProfile(list(browser.download.dir = "D:/temp"))
  remDr &lt;- remoteDriver(extraCapabilities = fprof)
  </code></pre>
  
  <p>but i don't know what should I write exactly.</p>
  
  <p>Would you please help me.
  Or if you know how I could deactivate this warning!</p>