文件名称:playwright-rust:剧作家移植到Rust
文件大小:191KB
文件格式:ZIP
更新时间:2024-04-26 16:28:03
rust playwright Rust
:performing_arts: 锈的 Playwright是一个锈蚀库,用于自动化Node.js库构建的 , 和 。 安装 [dependencies] playwright = "0.0.9" 用法 use playwright :: Playwright; #[tokio::main] async fn main () -> Result <(), playwright::Error> { let playwright = Playwright :: initialize (). await ?; playwright. prepare ()?; // Install browsers let chromium = playwright. chromium (); let browser = chromium. launcher (). headless ( true ). la
【文件预览】:
playwright-rust-master
----.github()
--------workflows()
----tests()
--------test.rs(2KB)
--------hello.rs(1KB)
----LICENSE(1KB)
----.rustfmt.toml(120B)
----src()
--------build.rs(2KB)
--------main.rs(347B)
--------imp()
--------api()
--------imp.rs(3KB)
--------lib.rs(1KB)
--------api.rs(2KB)
----Cargo.toml(1KB)
----.gitignore(26B)
----Makefile(530B)
----README.md(3KB)