Synchronous WebDriver and PageLoader libraries.
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:
Projects that use Sync WebDriver should include the following in their pubspec.yaml:
Add this to your package's pubspec.yaml file:
dependencies: sync_webdriver: ^1.2.2+1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.2.2+1||May 1, 2015|
|1.2.2||Apr 30, 2015|
|1.1.4+1||Feb 25, 2015|
|1.1.4||Feb 20, 2015|
|2.0.0-pre.2||Jun 14, 2016|
|2.0.0-pre.1||May 10, 2016|
|2.0.0-pre.0||May 27, 2015|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Jul 20, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: other
lib/src/options.dart failed with 5 errors:
line 75 col 24: A value of type 'bool' can't be assigned to a variable of type 'String'.
line 78 col 24: A value of type 'int' can't be assigned to a variable of type 'String'.
line 102 col 12: The return type 'Duration' isn't a 'void', as defined by the method 'scriptTimeout'.
line 110 col 12: The return type 'Duration' isn't a 'void', as defined by the method 'implicitWaitTimeout'.
line 118 col 12: The return type 'Duration' isn't a 'void', as defined by the method 'pageLoadTimeout'.
lib/src/window.dart failed with 2 errors:
line 23 col 9: super call must be last in an initializer list (see https://goo.gl/EY6hDP): 'super(driver, 'window/$handle')'.
line 44 col 3: Invalid override. The type of 'Window.==' ('(Window) → bool') isn't a subtype of 'Object.==' ('(dynamic) → bool').
Support Dart 2 in
The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
Changelog entries help clients to follow the progress in your code.
Package is too old.
The package was released more than two years ago.
Fix additional 9 files with analysis or formatting issues.
Additional issues in the following files:
lib/src/web_driver.dart(1 error, 18 hints)
Maintain an example.
Create a short demo in the
example/ directory to show how to use this package. Common file name patterns include:
example.dart or you could also use
|Dart SDK||>=1.9.0 <2.0.0|