aboutsummaryrefslogtreecommitdiffstats
path: root/l/extreload.asd
diff options
context:
space:
mode:
authorTeddy Wing2021-01-20 00:51:44 +0100
committerTeddy Wing2021-01-20 00:51:44 +0100
commit1c06d6f0fe55768a76ce1359262dd4d245798328 (patch)
tree30b1fca76c32d500c9689add7d12497e1a016512 /l/extreload.asd
parent555d726a59ddf6206e650b226b88f397f5f9f00a (diff)
downloadextreload-1c06d6f0fe55768a76ce1359262dd4d245798328.tar.bz2
extreload: Try parsing `GetTargets` response
Tried to parse the response from the `GetTargets` message, but ended up with this error: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("unknown variant `iframe`, expected one of `page`, `background_page`, `service_worker`, `browser`, `other`", line: 0, column: 0)', /Users/tw/.cargo/registry/src/github.com-1ecc6299db9ec823/headless_chrome-0.9.0/src/protocol/mod.rs:90:70 Looks like the `headless_chrome` library doesn't include "iframe" as a `TargetType`: https://docs.rs/headless_chrome/0.9.0/headless_chrome/protocol/target/enum.TargetType.html Will have to modify the library, use a different library, or write my own types to serialize & deserialize.
Diffstat (limited to 'l/extreload.asd')
0 files changed, 0 insertions, 0 deletions