title: Using rvest, is it possible to click a tab that activates a div and reveals new content for scraping
body: <p>I'm new to rvest and I'm trying to determine if its possible to use rvest to click a tab that activates a div so that data can be scraped.  I've been reading the <a href="https://cran.r-project.org/web/packages/rvest/rvest.pdf" rel="noreferrer">rvest documentation</a> on cran and have not read anything that talks about clicking links, buttons or tabs.</p>
  
  <p>The site that I'm interested in scraping is: <a href="http://touch.tvg.com" rel="noreferrer">touch.tvg.com</a></p>
  
  <p>From the home page I'd like to click the race button (Again, how do you clik buttons in rvest)</p>
  
  <p>Next, I'd like to select an upcoming race.  This should redirect me to the selected race's url. For example: <a href="https://touch.tvg.com/race/HOO/Twi/10" rel="noreferrer">The 10th race at Hoosier</a></p>
  
  <p>Once one the race page, I'd like to click the Pool tab and scrape the pool information. </p>
  
  <p>I've attached some screen shots below.  Any suggestion, guidance is appreciated.</p>
  
  <p>From Home Page - Click Races Button
  <a href="https://i.stack.imgur.com/3tbe6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3tbe6.png" alt="Home Page - Click Races"></a></p>
  
  <p>From Races Page - Click an upcoming Race
  <a href="https://i.stack.imgur.com/u6JJ9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u6JJ9.png" alt="Races Page - Click an upcoming race"></a></p>
  
  <p>From The Particular Race Page - Click The Pool Tab
  <a href="https://i.stack.imgur.com/9qt2a.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9qt2a.png" alt="From the Race Page - Click the pool tab"></a></p>
  
  <p>With the Pool data (Div) visible - Scrape the Pool Data.
  <a href="https://i.stack.imgur.com/s7x9c.png" rel="noreferrer"><img src="https://i.stack.imgur.com/s7x9c.png" alt="With Pool data visible - Scrape Pool Data"></a></p>