Skip to content

Assertions CaSe sensitivity #161

@paul-hph

Description

@paul-hph

This assertion

.assert.numberOfElements('meta[name="description"]',1, 'META-DESCRIPTION: Should exists once')

fails on this element:

<meta name="Description" content="Apple leads the world in innovation with iPhone, iPad, Mac, Apple Watch, iOS, OS X, watchOS and more. Visit the site to learn, buy, and get support." />

Is there a way to make the selector case insensitive?

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