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.

error: isElementPresent on a css queried element  #538

@ajoslin

Description

@ajoslin

Here is the very simplest use case - this gives an error:

  it('test', function() {
    browser.get('http://localhost:8080/test/e2e/e2e-test.html');
    expect(protractor.getInstance().isElementPresent(element(by.css('.foobar')))).toBe(false);
  });

I'm getting the error Unsupported locator strategy: click. Here's the stacktrace: http://d.pr/i/uasB

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions