I am doing automatic test and i want to check the occurrence of an alert with the inscription "Good morning" (when i do assert). I am writing test in Python with selenium-webdriver. How should I do is to check?
Element:
<div class="alert alert-dismissable alert-info">
<button aria-hidden="true" class="close" data-dismiss="alert">×</button>
Good morning
</div>