Skip to content

Allow SeleniumLibrary constructor to set default locator attributes. #1623

Open
@sebastianciupinski

Description

@sebastianciupinski

For now importing selenium library allows to set import arguments like:
timeout, implicit_wait, run_on_failure, screenshot_root_directory, plugins, and event_firing_webdriver

Adding default_attributes which will be passed to ElementFinder could allow use other attributes for elements finding, other than default @name and @id. (without creating plugin). Reason is data-something attributes are often used in web app development as labels for automation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions