[webdriver] Move Webdriver to ServoShell (#36714)

Moving `webdriver` to `servoshell`:

- Let `servoshell` manage lifecycle of `webdriver`
- One by one, move the handling of webdriver commands from
`constellation` to `embedder`

Partially fix: https://github.com/servo/servo/issues/37370
Partially fix webdriver test timeout with `no_top_browsing_context`

cc: @xiaochengh

---------

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
batu_hoang 2025-06-19 17:52:01 +08:00 committed by GitHub
parent d55e2c4c90
commit d0100797e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 156 additions and 35 deletions

3
Cargo.lock generated
View file

@ -7191,6 +7191,8 @@ dependencies = [
"backtrace",
"cc",
"cfg-if",
"constellation_traits",
"crossbeam-channel",
"dirs",
"dpi",
"egui",
@ -7237,6 +7239,7 @@ dependencies = [
"tracing-perfetto",
"tracing-subscriber",
"url",
"webdriver_server",
"windows-sys 0.59.0",
"winit",
"winres",