A framework for creating page objects for in-browser tests or WebDriver tests.
PageLoader for Dart comes in two flavours: async and sync.
Async PageLoader for Dart is the recommended version going forward. It is designed to work with webdriver.dart.
The sync version is deprecated and will eventually be removed from this repository. Consider switching to the async version.
Sync Pageloader was designed to work with the now deprecated Dart Sync WebDriver.
When using Sync PageLoader with Dart Sync WebDriver, you must build the native extension for https://github.com/google/dart-sync-socket This can be done by running the following after running pub get or upgrade:
FirstByCssfinder to help support recursively defined components.
Add this to your package's pubspec.yaml file:
dependencies: pageloader: "^2.2.6"
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:
import 'package:pageloader/html.dart'; import 'package:pageloader/objects.dart'; import 'package:pageloader/webdriver.dart';
|2.2.6||Apr 5, 2017|
|2.2.5||Jan 12, 2017|
|2.2.4||Nov 18, 2016|
|2.2.3||Sep 23, 2016|
|2.2.2||Sep 14, 2016|
|2.2.1||Aug 17, 2016|
|2.2.0||Aug 15, 2016|
|2.1.2||Jul 22, 2016|
|2.0.2||Jul 18, 2016|
|2.0.1||Apr 5, 2016|
We analyzed this package, and provided a score, details, and suggestions below.
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]
Detected platforms: web
Platform components identified in package:
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.21.0 <2.0.0|