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 on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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:
Package is getting outdated.
The package was released 62 weeks ago.
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
Fix analysis and formatting issues.
Analysis or formatting checks reported 5 hints.
Strong-mode analysis of
lib/html.dartgave the following hint:
line: 271 col: 37
'_ElementSeleniumAttributes' is deprecated and shouldn't be used.
Strong-mode analysis of
lib/src/annotations.dartgave the following hint:
line: 305 col: 22
'seleniumAttributes' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
|Dart SDK||>=1.21.0 <2.0.0|