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.01M
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

280 out of 651 API elements (43.0 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 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: Angle brackets will be interpreted as HTML.

lib/support/stdio_stepper.dart:78:22

   ╷
78 │ /// Converts a Stream<List<int> | int> to Stream<String> that fires an event
   │                      ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/support/stdio_stepper.dart

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

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

Package Constraint Compatible Latest
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
async - 2.12.0 2.12.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.

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

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.18, Dart 3.6.1.

Check the analysis log for details.

61
likes
100
points
3.01M
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