Skip to content

README提到的48页的第二个修改后不能获取到元素,不改却可以 #1

Description

@qlmlove
driver.find_element_by_xpath("//a[contains(text(), '营销')]").text  # 可以

driver.find_element_by_xpath("//a[contains(text()='营销')]").text  # 不可以

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions