'How to find the element of a toast message in chrome
I am trying to get the field address of a toast message but gets disappearing very fast. Is there a way to pause it.
Solution 1:[1]
Here's a trick that I use:
- Prepare for the toast notification to appear
- Open Chrome's Developer Tools
- Navigate to the Sources tab
- (Switch back to the site) trigger the toast notification
- (Switch back to the Sources tab) click "Pause script execution"
The site should now be frozen, including the toast notification.
Try using the "element inspector" or navigate to the Elements tab and search (ctrl+f / cmd+f) for content found in the toast notification's message.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nick |

