segment-boneyard / nightmare

A high-level browser automation library.
https://open.segment.com
19.54k stars 1.08k forks source link

How to access the window.digitalData object #1643

Open sebassensitd opened 2 years ago

sebassensitd commented 2 years ago

Hi folks,

just a question I am trying to automate our analytics that is stored in window.digitalData object. I would like to verify that after each action on our website like registering a new customer or selecting the care plan the data are stored correctly in analytics. Is there any way how I could achieve this goal with help of a nightmare? I truly believe so but I still cannot figure it out. Many thanks.