Skip to content

DomCrawler component and Symfony Testing docs contradict each other #10430

Closed
@jaikdean

Description

@jaikdean

The DomCrawler component docs state that the selectButton() method finds a button by its label or id.

The Symfony Testing docs state that the selectButton() methods finds a button by its value, id, alt or name attributes.

One or both of these must be incomplete or incorrect, though I'm not sure which.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions