Skip to content

Cannot find tags that have additional classes #80

@komputronika

Description

@komputronika

find method cannot find tag that has additional classes.

For example, I want to find all tags that have 'services' class:

<div class='services'> or
<div class='services last-item'> or
<div class='services active'>

But, If I run:

$html->find('div[class=services]'); 

I will only get one result:

<div class='services'>

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