[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.glob]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.regex]
version = "1.12"
[dependencies.reqwest]
default-features = false
features = ["json", "cookies", "multipart", "rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["sync", "time", "macros", "rt-multi-thread", "fs"]
version = "1.47"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
features = ["v4"]
version = "1.19"
[dependencies.viewpoint-cdp]
version = "0.2.2"
[dependencies.viewpoint-js]
version = "0.2.2"
[dependencies.viewpoint-js-core]
version = "0.2.2"
[dependencies.zip]
version = "2.2"
[[example]]
name = "basic_navigation"
path = "examples/basic_navigation.rs"
[features]
default = []
integration = []
[lib]
name = "viewpoint_core"
path = "src/lib.rs"
[lints.clippy]
assigning_clones = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
format_push_string = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_in_or_patterns = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "allow"
unsafe_code = "forbid"
[package]
authors = ["Stephen Stubbs"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "web-programming"]
description = "High-level browser automation API for Viewpoint"
documentation = "https://docs.rs/viewpoint-core"
edition = "2024"
homepage = "https://github.com/stephenstubbs/viewpoint"
keywords = ["browser", "automation", "testing", "playwright", "chromium"]
license = "MIT"
name = "viewpoint-core"
readme = "README.md"
repository = "https://github.com/stephenstubbs/viewpoint"
resolver = "2"
rust-version = "1.85"
version = "0.2.2"
[[test]]
name = "api_request_tests"
path = "tests/api_request_tests.rs"
[[test]]
name = "browser_tests"
path = "tests/browser_tests.rs"
[[test]]
name = "clock_tests"
path = "tests/clock_tests.rs"
[[test]]
name = "context_tests"
path = "tests/context_tests.rs"
[[test]]
name = "device_emulation_tests"
path = "tests/device_emulation_tests.rs"
[[test]]
name = "dialog_alert_tests"
path = "tests/dialog_alert_tests.rs"
[[test]]
name = "dialog_prompt_tests"
path = "tests/dialog_prompt_tests.rs"
[[test]]
name = "download_tests"
path = "tests/download_tests.rs"
[[test]]
name = "frame_tests"
path = "tests/frame_tests.rs"
[[test]]
name = "har_tests"
path = "tests/har_tests.rs"
[[test]]
name = "input_tests"
path = "tests/input_tests.rs"
[[test]]
name = "js_evaluation_tests"
path = "tests/js_evaluation_tests.rs"
[[test]]
name = "locator_creation_tests"
path = "tests/locator_creation_tests.rs"
[[test]]
name = "locator_role_tests"
path = "tests/locator_role_tests.rs"
[[test]]
name = "locator_tests"
path = "tests/locator_tests.rs"
[[test]]
name = "media_emulation_tests"
path = "tests/media_emulation_tests.rs"
[[test]]
name = "navigation_redirect_tests"
path = "tests/navigation_redirect_tests.rs"
[[test]]
name = "navigation_tests"
path = "tests/navigation_tests.rs"
[[test]]
name = "network_tests"
path = "tests/network_tests.rs"
[[test]]
name = "network_types_tests"
path = "tests/network_types_tests.rs"
[[test]]
name = "pdf_content_tests"
path = "tests/pdf_content_tests.rs"
[[test]]
name = "pdf_format_tests"
path = "tests/pdf_format_tests.rs"
[[test]]
name = "tracing_tests"
path = "tests/tracing_tests.rs"