google / google/webdriver.dart

Remove the dependency on `package:matcher`

Open
#271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
142
Forks
49
Avg merge
4h 22m
Merged PRs (30d)
4

Description

This package will be discontinued. We could consider adding an API based on `checks`, but I think it would be better to use `bool Function(T)` and we can (in some other place) have utilities to easily convert a `Matcher` or a `Condition` to the predicate callback.

I think most of the places that accept a `Matcher` today currently are typed as `Object`, so we can probably add support for the predicate, migrate usages that must roll atomically to use that API, then publish the breaking change that makes the signature a function type.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.