Skip to content

Bug:selector = driver(name="icon file unselect")[1].exists总是返回False #178

Description

@YuZai2025

调用selector = driver(name="icon file unselect")[1].exists
https://github.com/Property
def exists(self):
return len(self.find_element_ids()) > self._index
此函数中返回的 len=1,index=1,就始终无法返回True,实际上self.find_element_ids()已经找到了对应的元素。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions