sahava/gtm-datalayer-test

Add support for navigation

Opened this issue · 1 comments

Navigation support needs to be added. Basically anything that triggers a dataLayer.push() should be something you can write a test to.

Will need to figure out how to represent navigation in the JSON configuration, though.

PhantomJS support simulating page interaction (https://stackoverflow.com/questions/15739263/phantomjs-click-an-element). But, yes, the challenge is still to represented this in a JSON configuration.