8000 element.identifier shorthand for getattr(element, element.identifyingAttribute) · Issue #30 · lvh/txyoga · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
element.identifier shorthand for getattr(element, element.identifyingAttribute) #30
Open
@lvh

Description

@lvh

identifyingAttribute API works the way it does because it's easy to code. element.identifier is easy to use. How about changing the interface to have identifier, which is the actual identifier, not the name of the identifying attribute. The Element base class can still provide the shorthand.

< 4A9A div height="40px" width="40px" class="Box-sc-g0xbh4-0 LoadingSkeleton-sc-695d630a-0 kqdiwS qthD">

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0