Skip to content

findElements() throws exception when no elements found. #253

@Alexander-0x80

Description

@Alexander-0x80

According to the docs findElements() should return an empty array when no elements are found, but i get a WebDriverCurlException when running this snippet :

$element = \WebDriverBy::cssSelector("#not_exists tr > td:first-child");
$found   = $webDriver->findElements($element);

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe'd appreciate help on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions