Skip to content

ElementProxy presence checks should invalidate cache #125

@dtognazzini

Description

@dtognazzini

See #123 (comment) for discussion.

When checking for presence, the DOM is not queried if the element was cached due to a previous lookup:

@loaded_element ||= load_element

Since #65, this is not true for absence checks. With absence checks, the cached element is ignored and the DOM is queried:

Both types of checks should invalidate the cache by looking up the element in the DOM.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions