webdriverbidi 0.2.2

WebDriver BiDi client implementation in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use crate::model::command::CommandResponse;
use crate::model::error::ErrorResponse;
use crate::model::event::Event;

#[derive(Debug, Serialize, Deserialize)]
#[serde(untagged)]
pub enum Message {
    CommandResponse(CommandResponse),
    ErrorResponse(ErrorResponse),
    Event(Event),
}