cypress get timestamp code example
Example 1: cypress display timestamp in milliseconds
new Date().getTime()
Example 2: cypress display timestamp in milliseconds
const currentTimeInMilliseconds=Date.now(); // unix timestamp in milliseconds
new Date().getTime()
const currentTimeInMilliseconds=Date.now(); // unix timestamp in milliseconds