Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Can't locate web element using Protractor API #4903

@bharukaRupesh

Description

@bharukaRupesh

Hi,

I am using chrome headless browser in protractor for testing of Angular WebApp. But, the problem is headless browser is not locating the web element and giving below error,
- Failed: No element found using locator: By(css selector, *[id="login_form_login"])

obviously because it doesn't wait to load browser, css elements etc.

How it can be resolved to locate web element for headless browser?

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