Skip to content

sometimes $results['value']['ELEMENT'] is not defined inside WebDriver.php line 368 #21

Open
@ghost

Description

added this line

if (!isset($results['value']['ELEMENT'])) throw new SeleniumNoSuchElementException();

I dunno if thats the best error to throw, but its better than leaving it completely unhandled and getting notices.

return new WebElement($this, $results['value']['ELEMENT']);#just showing this line for reference

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