webdriver: Improve documentations for actions.rs and update TODOs (#39391)

Add specification quote for each steps, remove some irrelevant TODO, and
move function position closer to related function.

Testing: No behaviour change

---------

Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Co-authored-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
Kenzie Raditya Tirtarahardja 2025-09-21 13:42:16 +08:00 committed by GitHub
parent 2c8533f38e
commit 77ae3a0eb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 166 additions and 134 deletions

View file

@ -502,7 +502,6 @@ impl App {
}
},
WebDriverCommandMsg::KeyboardAction(webview_id, key_event, msg_id) => {
// TODO: We should do processing like in `headed_window:handle_keyboard_input`.
if let Some(webview) = running_state.webview_by_id(webview_id) {
webview.notify_input_event(
InputEvent::Keyboard(KeyboardEvent::new(key_event))