webdriver 3.0.0 icon indicating copy to clipboard operation
webdriver: ^3.0.0 copied to clipboard

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

27
likes
80/ 130
pub points
99%
popularity

We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2022-06-24T11:16:51.977853] Starting...
Documenting webdriver...
Initialized dartdoc with 248 libraries
Generating docs for library webdriver.sync_io from package:webdriver/sync_io.dart...
Generating docs for library webdriver.sync_core from package:webdriver/sync_core.dart...
Generating docs for library webdriver.core from package:webdriver/core.dart...
Generating docs for library webdriver.core from package:webdriver/async_core.dart...
Generating docs for library webdriver.io from package:webdriver/io.dart...
Generating docs for library webdriver.support.stdio_stepper from package:webdriver/support/stdio_stepper.dart...
Generating docs for library webdriver.support.firefox_profile from package:webdriver/support/firefox_profile.dart...
Generating docs for library webdriver.support.async from package:webdriver/support/async.dart...
Generating docs for library webdriver.html from package:webdriver/async_html.dart...
Generating docs for library webdriver.io from package:webdriver/async_io.dart...
Documented 10 public libraries in 42.8 seconds

stderr:   warning: ambiguous reexport of log.LogEntry, canonicalization candidates: (webdriver.core, webdriver.core, webdriver.html, ..., webdriver.sync_core, webdriver.sync_io) -> webdriver.sync_io (confidence 0.000)
    from log.LogEntry: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/src/common/log.dart:1:7)
        webdriver.core: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.core: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.html: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.io: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.io: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.sync_core: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
        webdriver.sync_io: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
            Use {@canonicalFor log.LogEntry} in the desired library's
            documentation to resolve the ambiguity and/or override dartdoc's
            decision, or structure your package so the reexport is less
            ambiguous.  The symbol will still be referenced in all candidates --
            this only controls the location where it will be written and which
            library will be displayed in navigation for the relevant pages. The
            flag --ambiguous-reexport-scorer-min-confidence allows you to set the
            threshold at which this warning will appear.
  warning: ambiguous reexport of cookie.Cookie, canonicalization candidates: (webdriver.core, webdriver.core, webdriver.html, ..., webdriver.sync_core, webdriver.sync_io) -> webdriver.sync_io (confidence 0.000)
    from cookie.Cookie: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/src/common/cookie.dart:16:7)
        webdriver.core: 0.1877 - name is long (+0.02000), element location shares parts with name (+0.1667), element location parts start with parts of name (+0.001000)
[...]
    from webdriver.io.createDriver: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/async_io.dart:38:24)
  warning: unresolved doc reference [resolve]
    from webdriver.io.fromExistingSession: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/async_io.dart:56:24)
  warning: unresolved doc reference [resolve]
    from webdriver.io.fromExistingSessionSync: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/async_io.dart:73:16)
  error: failed to write file at: webdriver.io/webdriver.io-library.html
    for symbol webdriver.io: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/async_io.dart:15:9)
    conflicting with file already generated by webdriver.io: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/io.dart:15:9)
  warning: unresolved doc reference [logs.get(logType)]
    from webdriver.io.WebDriver.logs: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/src/async/web_driver.dart:182:12)
  warning: unresolved doc reference [window.close()]
    from webdriver.io.WebDriver.close: (file:///tmp/pub-dartlang-dartdocDAEKQN/pkg/lib/src/async/web_driver.dart:140:16)
Found 101 warnings and 2 errors.
Unhandled exception:
encountered 2 errors
#0      Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:231:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:19)
<asynchronous suspension>


icon indicating section status
Platform support
0 / 20icon to trigger 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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

INFO: Provide a deprecation message, via @Deprecated("message").

lib/src/async/web_driver.dart:139:3

    ╷
139 │   @deprecated
    │   ^^^^^^^^^^^
    ╵

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

INFO: Provide a deprecation message, via @Deprecated("message").

lib/src/async/web_element.dart:135:3

    ╷
135 │   @deprecated
    │   ^^^^^^^^^^^
    ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
archive^3.0.03.3.03.3.0
matcher^0.12.100.12.120.12.12
path^1.8.01.8.21.8.2
stack_trace^1.10.01.10.01.10.0
sync_http^0.3.00.3.10.3.1
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.16.01.16.0
crypto-3.0.23.0.2
typed_data-1.3.11.3.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.13, Dart 2.17.5.

27
likes
80
pub points
99%
popularity

Publisher

verified publisher icongoogle.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

archive, matcher, path, stack_trace, sync_http

More

Packages that depend on webdriver