title: How can i verify the label which is displayed in UI (only for 5 second)s and appears when there is an error in the page load using selenium python?
body: <p>If i load a page and there are some errors in the page and there will be a message which appears for 5 to 10 seconds with the message &quot;error updating data&quot;. How can i check if on page load this error exists or not? Developer had given me the id of this label and it starts with span.</p>
  <p>Im expected to check if this label occurs on page load using selenium and python. Basically checking if there are any errors in the page on loading. We have around 20 to 30 pages, so have to check each page is loaded without any error</p>
  <p><a href="https://i.stack.imgur.com/1PZKX.png" rel="nofollow noreferrer">Error updating data</a></p>