Assert content of snackbar that disappears after 2 seconds
I have a page where every time I add an item to a calendar a snackbar appears and disappears after 0.5 seconds.
This snackbar has a text that I want to assert. How can I assert it, if the element disappears inmediately?
Notes.- I’m using Selenium with Java