Skip to content

Create PageObject Element based on parameters #4

@norberttech

Description

@norberttech

Sometimes we have elements that have very same logic but different parameters describes them so its impossible to get them directly from Page Object.
It would be nice to have additional parameter in getElement method in Page class.

$params = array('id' => 'element_id'); 
PageObject\Page::getElement($name, $params);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions