AssertNetworkEventsAsync

Parent Previous Next

AssertNetworkEventsAsync

Description: the method checks the presence (presence = true) or absence (presence = false) specified events (events), this method is good to use when checking the events Google Analytics and Yandex Metrika

Syntax: AssertNetworkEventsAsync(bool presence, string[] events)

Return value: bool (true or false)


Example:

await tester.AssertNetworkEventsAsync(true, new string[] { 

       "ec=zayavka", "ea=b2c_new_main", "el=some_shpd_nm", "zayavka_shpd" 

});

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease