0

Following is my code:

<span id="agText" class="ag-header-cell-text">
    <span style="height: 100%;">Coordinator</span>
</span>

I was trying the following:

var cordinator = element(by.cssContainingText('#agText > span','Coordinator'));
0

1 Answer 1

1

I think you could use #agText span

e.g.

var cordinator = element(by.cssContainingText('#agText span','Coordinator'));
1
  • KISS principle always. Apr 25, 2017 at 23:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.