Tag Selected: handle alerts in selenium