title: Rselenium web-scraping with R
body: <p>For example, I want to scrape the data from this web-page(The Space,Amenities,Prices...and reviews
  <a href="https://www.airbnb.com/rooms/9985824?guests=1&amp;s=d2dNfFMd" rel="nofollow">https://www.airbnb.com/rooms/9985824?guests=1&amp;s=d2dNfFMd</a></p>
  
  <p>I want to use for this purpose rselenium package.
  This is my code:</p>
  
  <pre><code>url &lt;- "https://www.airbnb.com/rooms/9985824?guests=1&amp;s=d2dNfFMd"
  library('RSelenium')
  pJS &lt;- phantom()
  library('XML')
  shell.exec(paste0("C:\\Users\\Daniil\\Desktop\\R-language,Python\\file.bat"))
  Sys.sleep(10)
  
  checkForServer()
  startServer()
  remDr &lt;- remoteDriver(browserName="chrome", port=4444)
  remDr$open(silent=T)
  </code></pre>
  
  <p>and then with the help of SelectorGadget I found, I think, right elements for scraping:</p>
  
  <pre><code>var &lt;- remDr$findElements('css selector','#details hr+ .row')
  </code></pre>
  
  <p>My question is: how can I bring it into the text(character strings)?
  Or maybe exists other approach with rselenium for collecting data.</p>
  
  <p>Many thanks</p>