Hi,
How to automate toast messages using robot framework?
In my web application under test there are different toast messages on different location.
These messages display for 3 seconds and then gets fade away.
Unable to get the locator for it.
I am using robot framework in eclipse red editor, python, selenium.
Thanks !
You might need to pause the browser while the toast message is being shown to then be able to figure out it’s CSS/Xpath locator. It can be a bit tricky and I think it is a little different’ between using Chrome or Firefox. I think for Chrome you have to hit F8 while DevTools is open and you have activated the Sources tab. It takes a bit of trial and error to time it just right so don’t despair if you struggle.