rustenium-macros 1.0.0

Convenience macros for Rustenium (css! and xpath! selectors)
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[macro_export]
macro_rules! bidi_command {
    ($command_base: expr, $command: expr, $method: expr, $params: ident $params_block: block) => {
        CommandData::$command_base($command_base::$command(
                $command {
                    method: $method,
                    params: $params $params_block
                },
            ))
    };
}