title: How to automate Analytics testing of event fired on clicking using selenium?
body: <p>I am working on Analytics automation test, using Java and Selenium WebDriver. Our site has Analytics tracking events set on important elements on the site. I need to verify that on clicking a certain element under test, the Analytic event is in fact fired.</p>
  
  <p>I'm testing it on Chrome. When I click F12, I can see in the console that a  Omniature Analytics event is fired  on each element click event.</p>
  
  <p>How can I achieve this task? If anyone can help me with some references or sample code I'll be very Thankful.</p>