Headless Chrome
Puppeteer for Rust. It looks a little something like this:
use ;
let browser = new?;
let tab = browser.wait_for_initial_tab?;
tab.navigate_to?;
tab.wait_for_element?.click?;
tab.type_str?;
tab.press_key?;
tab.wait_for_element?;
assert_eq!;
For fuller examples, take a look at tests/integration.rs
.
Missing features
- Documentation
- Frame / iframe support
window.alert
handlers
Contributing
Pull requests and issues are most welcome, even if they're just experience reports. If you find anything frustrating or confusing, let me know!