parameters: (self)
return_statement: return Alert(self)
docstring: Switches focus to an alert on the page.
  
          :Usage:
              driver.switch_to_alert()
docstring_summary: Switches focus to an alert on the page.
docstring_tokens: Switches focus to an alert on the page .
function: def switch_to_alert(self):
          """
          Switches focus to an alert on the page.
  
          :Usage:
              driver.switch_to_alert()
          """
          return Alert(self)
function_tokens: def switch_to_alert ( self ) : return Alert ( self )