Skip to main content

press_enter

Function press_enter 

Source
pub async fn press_enter(c: &CdpClient, sid: &str) -> Result<()>
Expand description

Press and release Enter on the focused element. text: "\r" on the keyDown is what makes Chromium synthesise the keypress and submit forms, matching Puppeteer.