{"id":20523003,"url":"https://github.com/openbytedev/deadpool-fantoccini","last_synced_at":"2025-10-20T05:39:58.255Z","repository":{"id":57616916,"uuid":"419814133","full_name":"OpenByteDev/deadpool-fantoccini","owner":"OpenByteDev","description":"Dead simple async session pool for fantoccini.","archived":false,"fork":false,"pushed_at":"2023-06-07T11:28:59.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T13:53:03.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenByteDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-21T17:18:47.000Z","updated_at":"2022-05-11T16:36:01.000Z","dependencies_parsed_at":"2023-02-14T02:16:13.927Z","dependency_job_id":null,"html_url":"https://github.com/OpenByteDev/deadpool-fantoccini","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2Fdeadpool-fantoccini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2Fdeadpool-fantoccini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2Fdeadpool-fantoccini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2Fdeadpool-fantoccini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenByteDev","download_url":"https://codeload.github.com/OpenByteDev/deadpool-fantoccini/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224854926,"owners_count":17380953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T22:37:34.245Z","updated_at":"2025-10-20T05:39:53.231Z","avatar_url":"https://github.com/OpenByteDev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deadpool-fantoccini\n\n[![CI](https://github.com/OpenByteDev/deadpool-fantoccini/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenByteDev/deadpool-fantoccini/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/deadpool-fantoccini.svg)](https://crates.io/crates/deadpool-fantoccini)\n[![Documentation](https://docs.rs/deadpool-fantoccini/badge.svg)](https://docs.rs/deadpool-fantoccini)\n[![dependency status](https://deps.rs/repo/github/openbytedev/deadpool-fantoccini/status.svg)](https://deps.rs/repo/github/openbytedev/deadpool-fantoccini)\n[![MIT](https://img.shields.io/crates/l/deadpool-fantoccini.svg)](https://github.com/OpenByteDev/deadpool-fantoccini/blob/master/LICENSE)\n\n[`deadpool`](https://crates.io/crates/deadpool/0.9.0) is a dead simple async pool for connections and objects of any type.\n\nThis crate implements a deadpool manager for [`fantoccini`](https://crates.io/crates/fantoccini/0.17.6).\n\n## Example\n```rust\nuse deadpool_fantoccini::{Manager, Pool, PoolShutdown};\nuse fantoccini::{ClientBuilder, Locator};\n\n#[tokio::main]\nasync fn main() {\n    let manager = Manager::new(\"http://localhost:4444\", ClientBuilder::native());\n    let pool = Pool::builder(manager).max_size(5).build().unwrap();\n\n    let mut client = pool.get().await.unwrap();\n    client.goto(\"http://example.org/\").await.unwrap();\n    let title = client\n        .find(Locator::Css(\"h1\"))\n        .await\n        .unwrap()\n        .text()\n        .await\n        .unwrap();\n    assert_eq!(title, \"Example Domain\");\n    drop(client);\n\n    // cleanly closes all sessions (all sessions have to be returned to the pool beforehand.)\n    pool.shutdown().await.unwrap();\n}\n```\n\n## License\nLicensed under MIT license ([LICENSE](https://github.com/OpenByteDev/deadpool-fantoccini/blob/master/LICENSE) or http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbytedev%2Fdeadpool-fantoccini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbytedev%2Fdeadpool-fantoccini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbytedev%2Fdeadpool-fantoccini/lists"}