[package]
edition = "2024"
name = "thirtyfour"
version = "0.36.2"
authors = [
"Steve Pryde <steve@stevepryde.com>",
"Vrtgs <vrtgs@vrtgs.xyz>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Thirtyfour is a Selenium / WebDriver library for Rust, for automated website UI testing.
Tested on Chrome and Firefox, but any webdriver-capable browser should work.
"""
homepage = "https://github.com/Vrtgs/thirtyfour"
documentation = "https://docs.rs/thirtyfour"
readme = "README.md"
keywords = [
"selenium",
"webdriver",
"chromedriver",
"geckodriver",
"automation",
]
categories = [
"api-bindings",
"development-tools::testing",
"web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Vrtgs/thirtyfour"
[features]
component = ["thirtyfour-macros"]
debug_sync_quit = []
default = [
"reqwest",
"rustls",
"component",
]
native-tls = ["reqwest/native-tls"]
reqwest = ["dep:reqwest"]
rustls = ["reqwest/rustls"]
tokio-multi-threaded = ["tokio/rt-multi-thread"]
[lib]
name = "thirtyfour"
path = "src/lib.rs"
[[example]]
name = "chrome_devtools"
path = "examples/chrome_devtools.rs"
[[example]]
name = "chrome_options"
path = "examples/chrome_options.rs"
[[example]]
name = "custom_poller"
path = "examples/query/custom_poller.rs"
[[example]]
name = "firefox_preferences"
path = "examples/firefox_preferences.rs"
[[example]]
name = "minimal_async"
path = "examples/minimal_async.rs"
[[example]]
name = "playground"
path = "examples/components/playground.rs"
[[example]]
name = "remote_debugging"
path = "examples/remote_debugging.rs"
[[example]]
name = "selenium_example"
path = "examples/selenium_example.rs"
[[example]]
name = "shadowroot"
path = "examples/shadowroot.rs"
[[example]]
name = "tokio_async"
path = "examples/tokio_async.rs"
[[example]]
name = "tokio_basic"
path = "examples/tokio_basic.rs"
[[example]]
name = "wikipedia"
path = "examples/query/wikipedia.rs"
[[test]]
name = "actions"
path = "tests/actions.rs"
[[test]]
name = "alert"
path = "tests/alert.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "components"
path = "tests/components.rs"
[[test]]
name = "custom_js"
path = "tests/custom_js.rs"
[[test]]
name = "elements"
path = "tests/elements.rs"
[[test]]
name = "misc"
path = "tests/misc.rs"
[[test]]
name = "queries"
path = "tests/queries.rs"
[[test]]
name = "window"
path = "tests/window.rs"
[dependencies.arc-swap]
version = "1"
[dependencies.async-trait]
version = "0.1.83"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.const_format]
version = "0.2.33"
[dependencies.futures-util]
version = "0.3.31"
features = ["alloc"]
default-features = false
[dependencies.http]
version = "1"
[dependencies.indexmap]
version = "2"
[dependencies.pastey]
version = "0.2"
[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.210"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.132"
features = ["preserve_order"]
[dependencies.serde_repr]
version = "0.1.19"
[dependencies.stringmatch]
version = "0.4"
[dependencies.thirtyfour-macros]
version = "0.2.0"
optional = true
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
version = "1.30"
features = [
"rt",
"macros",
"time",
"io-util",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5.2"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.color-eyre]
version = "0.6"
[dev-dependencies.rstest]
version = "0.26"
default-features = false
[dev-dependencies.serial_test]
version = "3.2.0"
[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
[dev-dependencies.tower-http]
version = "0.6"
features = ["fs"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]