Skip to content

Add Node#element element factory to create elements off of existing elements#179

Merged
dtognazzini merged 4 commits intomasterfrom
addElementFactory
Jun 8, 2016
Merged

Add Node#element element factory to create elements off of existing elements#179
dtognazzini merged 4 commits intomasterfrom
addElementFactory

Conversation

@dtognazzini
Copy link
Copy Markdown
Contributor

Node#element supports the same arguments as Node.element but without the name parameter.

Node.element should be used to define static structure of pages that holds for the lifetime of a node instance (an element or document).

Node#element should be used to create an AePageObjects::Element instance from the current state of the node (element or document). For example, Node#element should be used for modals.

@dtognazzini dtognazzini added this to the 2.0 milestone Jun 8, 2016
@dtognazzini dtognazzini merged commit eb5235b into master Jun 8, 2016
@dtognazzini dtognazzini deleted the addElementFactory branch June 8, 2016 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant