- Forward-compatible fix for upcoming Dart SDK breaking change
(
HttpClientResponse
implementingStream<Uint8List>
)
- Full support of JsonWire and W3C protocol specs in sync and async WebDriver.
- Dropped support for
pkg:unittest
. - Add W3C spec mouse and keyboard support.
- Remove deprecated methods in async WebDriver.
The two big changes are the addition of support for synchronous communication
via the package:sync_http
(along with an accompanying synchronous API) and
support for the W3C spec.
Currently, only the synchronous API supports the W3C spec, but in the future both asynchronous and synchronous APIs will support this.
- Adds null check for status before checking status code. Avoids throwing exceptions if status code is not present. (Due to oversight this was never properly released.)
- Enable generics for waitFor.
- Disable generics for waitFor.
- Refactor tests.
- Make project buildable and testable with Bazel.
- Enable redirects to handle 303 responses from Selenium.
- Fix all strong mode errors.
- Fix some analyzer warnings.
_performRequest
now useswhenComplete
, notfinally
(#119).
- Added
WebDriver.captureScreenshotAsBase64()
, which returns the screenshot as a base64-encoded string. - Added
WebDriver.captureScreenshotAsList()
, which returns the screenshot as list of uint8. - Deprecated
WebDriver.captureScreenshot()
due to bad performance (#114). Please use the new screenshot methods instead. - Removed dependency on crypto package.
Thanks to @blackhc and @xavierhainaux for the contributions.
No functional change, just bumping the version number.
- Add Future-based listeners to
web_driver.dart
. - Use google.com/ncr to avoid redirect when running outside US
- Add chords support to
keyboard.dart
. - Add enum for mouse buttons (breaking API change!)
- Adds support for enabling/disabling listeners to WebDriver.
- Adds
awaitChecking
mode to Lock class.
- Lots of cleanup and new features.
- Adds a Stepper interface and StdioStepper which allows control of execution of WebDriver commands.
- Improve exception stack traces.
- Add option to
quit()
to not end the WebDriver session.
- Minor updates.
- Adds command listening.
- Add
support/forwarder.dart
. - Move
async_helpers.dart
tosupport/async.dart
.
- Fix expect implementation.
- Fixes to pubspec.
- Added missing copyright notices.
- Various cleanup.
- Change
captureScreenshot
to return Stream.
- Rename some methods.
- Add
WebDriver.get()
and removeWebDriver.navigate.to()
.
- Added
close()
method to CommandProcessor that gets called byWebDriver.quit()
. - Ensure that HttpClient in _IOCommandProcessor gets closed.
- Add
fromExistingSession()
functions to allow creation of WebDriver instances connected to existing sessions.
- Isolate HTTP code from the rest of the WebDriver implementation.
- Create support for running WebDriver from inside browser.
- Other cleanup.