sync_webdriver 1.2.2+1

  • README.md
  • Installing
  • Versions
  • 27

Dart Sync WebDriver

Build Status

Synchronous WebDriver and PageLoader libraries.

Installing

This library depends on https://github.com/google/dart-sync-socket which uses a native extension. After doing a pub get or upgrade, you must build the native extension by running:

  # ./packages/sync_socket/../tool/build.sh

Projects that use Sync WebDriver should include the following in their pubspec.yaml:

sync_webdriver: '^1.2.0'

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  sync_webdriver: "^1.2.2+1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:sync_webdriver/sync_webdriver.dart';
        
Version Uploaded Documentation Archive
1.2.2+1 May 1, 2015 Go to the documentation of sync_webdriver 1.2.2+1 Download sync_webdriver 1.2.2+1 archive
1.2.2 Apr 30, 2015 Go to the documentation of sync_webdriver 1.2.2 Download sync_webdriver 1.2.2 archive
1.1.4+1 Feb 25, 2015 Go to the documentation of sync_webdriver 1.1.4+1 Download sync_webdriver 1.1.4+1 archive
1.1.4 Feb 20, 2015 Go to the documentation of sync_webdriver 1.1.4 Download sync_webdriver 1.1.4 archive
2.0.0-pre.2 Jun 14, 2016 Go to the documentation of sync_webdriver 2.0.0-pre.2 Download sync_webdriver 2.0.0-pre.2 archive
2.0.0-pre.1 May 10, 2016 Go to the documentation of sync_webdriver 2.0.0-pre.1 Download sync_webdriver 2.0.0-pre.1 archive
2.0.0-pre.0 May 27, 2015 Go to the documentation of sync_webdriver 2.0.0-pre.0 Download sync_webdriver 2.0.0-pre.0 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 16, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
89 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
27

Platforms

Detected platforms: other

Primary library: package:sync_webdriver/sync_webdriver.dart with components: io, mirrors.

Suggestions

  • Fix lib/src/touch.dart.

    Strong-mode analysis of lib/src/touch.dart failed with the following error:

    line: 51 col: 25
    A value of type 'String' can't be assigned to a variable of type 'int'.

  • Fix lib/src/window.dart.

    Strong-mode analysis of lib/src/window.dart failed with the following error:

    line: 23 col: 9
    super call must be last in an initializer list (see https://goo.gl/EY6hDP): 'super(driver, 'window/$handle')'.

  • Fix further 4 Dart files.

    Similar analysis of the following files failed:

    • lib/src/web_element.dart
    • lib/src/options.dart
    • lib/src/pageloader/annotations.dart
    • lib/src/web_driver.dart
  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use sync_webdriver.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0
crypto ^0.9.0 0.9.2+1 2.0.2+1
matcher ^0.12.0 0.12.1+4
stack_trace ^1.3.2 1.9.2
sync_socket ^1.0.2+1 1.0.2+1
Transitive dependencies
charcode 1.1.1
convert 1.1.1 2.0.1
typed_data 1.1.5
Dev dependencies
path ^1.3.5 1.5.1
test ^0.12.0