If you use cypress-recurse plugin to ping the page before visiting it, you might need to access the text or json from the fetch's response object. This video shows how to do it. In summary:
recurse(
// use fetch
// yield { respones }
)
// the "recurse" yields whatever
// the first function yields, in our case
// it is the { response } object. Let's grab its text
.its('response')
.invoke('text')
.then(console.log)
Find the full source code at https://github.com/bahmutov/live-exam...
Watch video Access The Response Text Yielded By The Plugin cypress-recurse online, duration hours minute second in high quality that is uploaded to the channel gleb bahmutov 05 July 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 950 times and liked it 20 visitors.