pub trait Backend {
// Required methods
fn find(&mut self, using: &str, value: &str) -> Result<String, String>;
fn click(&mut self, id: &str) -> Result<(), String>;
fn send_keys(&mut self, id: &str, text: &str) -> Result<(), String>;
fn text(&mut self, id: &str) -> Result<String, String>;
fn screenshot_png_b64(&mut self) -> Result<String, String>;
}Required Methods§
fn find(&mut self, using: &str, value: &str) -> Result<String, String>
fn click(&mut self, id: &str) -> Result<(), String>
fn send_keys(&mut self, id: &str, text: &str) -> Result<(), String>
fn text(&mut self, id: &str) -> Result<String, String>
fn screenshot_png_b64(&mut self) -> Result<String, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".