title: Extract dataLayer object using selenium java
body: <p>I'm trying to find a way to extract the datalayer object from a website via java, using selenium webdriver.
  I am trying to automate the content being sent to gtm.
  Can someone give me some direction on how to proceed.</p>