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

Default Asked on April 4, 2019 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.