(self)
return Alert(self)
Switches focus to an alert on the page.

        :Usage:
            driver.switch_to_alert()
Switches focus to an alert on the page.
Switches focus to an alert on the page .
def switch_to_alert(self):
        """
        Switches focus to an alert on the page.

        :Usage:
            driver.switch_to_alert()
        """
        return Alert(self)
def switch_to_alert ( self ) : return Alert ( self )