What strategies and methods do you use to handle dynamic browser popups and authentication alerts in Selenium?