webdriver 3.1.0 copy "webdriver: ^3.1.0" to clipboard
webdriver: ^3.1.0 copied to clipboard

Provides WebDriver bindings for Dart. Supports WebDriver JSON interface and W3C spec. Requires the use of WebDriver remote server.

61
likes
100/ 160
pub points
3.15M
downloads

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

280 out of 680 API elements (41.2 %) have documentation comments.

Some symbols that are missing documentation: async, async.Clock, async.Clock.Clock.new, async.Lock, async.Lock.Lock.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:webdriver/async_io.dart that imports:
  • package:webdriver/src/request/async_io_request_client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:webdriver/async_html.dart that imports:
  • package:webdriver/src/request/async_xhr_request_client.dart that imports:
  • dart:html

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/async/web_driver.dart:220:62

    ╷
220 │   /// [captureScreenshotAsList]. Returning the data as Stream<int> can be very
    │                                                              ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/async/web_driver.dart

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/src/request/async_xhr_request_client.dart:2:1

  ╷
2 │ import 'dart:html';
  │ ^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/request/async_xhr_request_client.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
matcher ^0.12.10 0.12.17 0.12.17
path ^1.8.0 1.9.1 1.9.1
stack_trace ^1.10.0 1.12.1 1.12.1
sync_http ^0.3.0 0.3.1 0.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • URI_DOES_NOT_EXIST - lib/support/async.dart:17:8 - Target of URI doesn't exist: 'package:matcher/expect.dart'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
61
likes
100
points
3.15M
downloads

Publisher

verified publishergoogle.dev

Weekly Downloads

Provides WebDriver bindings for Dart. Supports WebDriver JSON interface and W3C spec. Requires the use of WebDriver remote server.

Repository (GitHub)
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

matcher, path, stack_trace, sync_http

More

Packages that depend on webdriver