PageLoader

Build Status

A framework for creating page objects for in-browser tests or Webdriver tests.

For a beginner's guide, refer to our quickstart guide.

For in-depth explanation of PageLoader's anatomy and features, refer to our anatomy section.

Refer to our best practices section to master using PageLoader.

Starting with version 3.0.0, PageLoader is changed significantly from version 2.X.X. Refer to our what changed section for more information.

How do I trigger the generation step?

dart run build_runner build

If you are starting with a fresh checkout or deleted your .dart_tool directory, pass the flag: --delete-conflicting-outputs.

WARNING: Your PageObject Dart files must be within test/... subdirectory

Libraries

core
html
Exports all APIs and classes needed for running in-browser.
pageloader
Following is useful only for WebDriver Test Creator.
builder
Configuration for using package:build-compatible build systems.
debug
Debug support for PageLoader.
testing
For testing on PageLoaderElement.
utils
webdriver
Exports all APIs and classes needed for running with WebDriver.