NullPageLoaderElement class
Null PageLoaderElement is used in place of 'null' value.
Users should not construct this class directly and instead
use the @nullElement
annotation instead.
- Implemented types
Constructors
Properties
- attributes → PageLoaderAttributes
-
Attributes associated with this element.
no setteroverride
-
classes
→ List<
String> -
CSS classes associated with this element.
no setteroverride
- computedStyle → PageLoaderAttributes
-
CSS properties of this element after applying the active stylesheets and
resolving any basic computation, such as converting a percentage into an
absolute length.
no setteroverride
- context → dynamic
-
The context of this PageLoaderElement. This should only be used if
this API does not provide desired functionality; otherwise usage should
be avoided.
no setteroverride
- contextSync → dynamic
-
Same as context.
no setteroverride
- displayed → bool
-
Whether this element is displayed based on "display" style.
no setteroverride
- exists → bool
-
Whether this element exists on the page.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique ID to identify the element.
no setteroverride
- innerText → String
-
The inner content of this element.
no setteroverride
- isFocused → bool
-
Whether this element is focused.
no setteroverride
-
listeners
→ List<
PageLoaderListener> -
Gets registered listeners.
no setteroverride
- name → String
-
The tag name of the node represented by this element.
no setteroverride
-
offset
→ Rectangle<
num> -
The offset of this element relative to its parent.
no setteroverride
- properties → PageLoaderAttributes
-
Attributes associated with this element.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seleniumAttributes → PageLoaderAttributes
-
Attributes associated with this element.
no setteroverride
- shadowRoot → PageLoaderElement
-
The shadow root hosted by this element.
no setteroverride
-
shadowRootChildren
→ List<
PageLoaderElement> -
The children of the shadow root hosted by this element.
no setteroverride
- style → PageLoaderAttributes
-
This element's inline style attributes.
no setteroverride
- utils → PageUtils
-
Returns an instance of PageUtils.
no setteroverride
- visibleText → String
-
Visible text within this element.
no setteroverride
Methods
-
addCheckers(
List< Checker> checkers) → void -
Adds additional Checkers to the list already maintained by the element.
override
-
addListeners(
List< PageLoaderListener> listeners) → void -
Adds listeners to element.
override
-
blur(
) → Future< void> -
Blurs the element (= lose focus).
override
-
byTag(
String tag) → PageLoaderElement -
Finds PageLoaderElement from this source by
tag
.override -
clear(
{bool focusBefore = true, bool blurAfter = true}) → Future< void> -
Note: all elements below here should remain asynchronous to allow
component tests to function properly.
Clears the text of this element, if possible (e.g. for text fields).
override
-
click(
{ClickOption? clickOption}) → Future< void> -
Clicks on the element with
clickOption
.clickOption
is only used for HTML.override -
clickOutside(
) → Future< void> -
Clicks outside of the current element.
override
-
createElement(
Finder finder, List< Filter> filter, List<Checker> checkers) → NullPageLoaderElement -
Creates a new element based on the current context plus the passed
Finder, Filters, and Checkers.
override
-
createIterable(
Finder finder, List< Filter> filter, List<Checker> checkers) → PageElementIterable -
Creates a new iterable based on the current context plus the passed
Finder, Filters, and Checkers.
override
-
createList(
Finder finder, List< Filter> filter, List<Checker> checkers) → List<NullPageLoaderElement> -
Creates a new list based on the current context plus the passed
Finder, Filters, and Checkers.
override
-
dispatchCustomEvent(
String name, {Object? detail}) → Future< void> -
Dispatches the
eventName
custom event on this element.override -
focus(
) → Future< void> -
Focuses the element.
override
-
getBoundingClientRect(
) → Rectangle< num> -
The smallest bounding rectangle that encompasses this element's padding,
scrollbar, and border.
override
-
getElementsByCss(
String selector) → List< PageLoaderElement> -
Returns the elements within this element that match the given CSS
selector.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scroll(
{int? x, int? y}) → Future< void> -
Scrolls this element in x and/or y direction by pixels.
override
-
scrollIntoView(
) → Future< void> -
Scrolls this element into view.
override
-
testCreatorGetters(
) → String -
Gives all getters that can be used by Test Creator.
override
-
testCreatorMethods(
) → String -
Gives all unannotated methods that can be used by Test Creator.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toStringDeep(
) → String -
Gives a full description of the element for debugger.
override
-
type(
String keys, {bool focusBefore = true, bool blurAfter = true}) → Future< void> -
Types
keys
into this element, if possible (e.g. for an input element).override -
typeSequence(
PageLoaderKeyboard keys) → Future< void> -
Types sequence of keyboard
keys
into element, if possible.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited