wdc-0.1.1 has been yanked.
A WebDriver Client library.
Overview
WebDriver is a widely-adopted W3C standard for web browser automation. It defines algorithms in a platform-, language-independent manner. It opens the possibility of using system programming languages such as Rust or C/C++ for WebUI testing/browser automation, which leads to better performance, efficiency, and safety.
This crate provides a pure Rust implementation of the client-side WebDriver, with the following goals:
-
Standard Compliance: it tracks both classical WebDriver and modern BiDi standards.
-
Low Overhead: it has no runtime dependencies.
-
Excellent Performance: it strives for zero-copy operations.
Examples:
Note: Assume using GeckoDriver, with default settings.
Navigate to website:
use ;
go_w3c.unwrap;
Run Javascript on website:
use ;
check_out_w3c_history.unwrap;