pub async fn send_keys<S>(&self, keys: S) -> WebDriverResult<()>
    where
        S: Into<TypingData>,
    {
        self.conn
            .execute(Command::SendAlertText(&self.session_id, keys.into()))
            .await
            .map(|_| ())
    }
/// Send the specified keys to the active alert.
///
/// # Example:
/// You can specify anything that implements `Into<TypingData>`. This
/// includes &str and String.
/// ```ignore
/// driver.switch_to().alert().send_keys("username").await?;
/// ```
///
/// You can also send special key combinations like this:
/// ```ignore
/// let alert = driver.switch_to().alert();
/// alert.send_keys(Keys::Control + "a").await?;
/// alert.send_keys(TypingData::from("selenium") + Keys::Enter).await?;
/// ```
Send the specified keys to the active alert.
Send the specified keys to the active alert .
pub async fn send_keys<S>(&self, keys: S) -> WebDriverResult<()>
    where
        S: Into<TypingData>,
    {
        self.conn
            .execute(Command::SendAlertText(&self.session_id, keys.into()))
            .await
            .map(|_| ())
    }
pub async fn send_keys < S > ( & self , keys : S ) -> WebDriverResult < ( ) > where S : Into < TypingData > , { self . conn . execute ( Command :: SendAlertText ( & self . session_id , keys . into ( ) ) ) . await . map ( | _ | ( ) ) }
Send the specified keys to the active alert.
Send the specified keys to the active alert .
&self
keys
S
&self
keys
S
example:
You can specify anything that implements `Into`. This
includes &str and String.
```ignore
driver.switch_to().alert().send_keys("username").await?;
```

You can also send special key combinations like this:
```ignore
let alert = driver.switch_to().alert();
alert.send_keys(Keys::Control + "a").await?;
alert.send_keys(TypingData::from("selenium") + Keys::Enter).await?;
```
You can specify anything that implements ` Into ` . This includes &str and String . ` ` ` ignore driver . switch_to () . alert () . send_keys ( " username " ) . await? ; ` ` ` You can also send special key combinations like this : ` ` ` ignore let alert = driver . switch_to () . alert () ; alert . send_keys ( Keys :: Control + " a " ) . await? ; alert . send_keys ( TypingData :: from ( " selenium " ) + Keys :: Enter ) . await? ; ` ` `