Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
protractor not finding items present in DOM in ag-grid 25

I am using protractor to retrieve data from filtered rows of an ag-grid. In ag-grid 25, objects that are present in the DOM are not being found and are generating script errors. In the following code the ColumnHambugerMenu for the specified column is clicked. An error is thrown when trying to click the ColumnFilterIcon even though it exists in the DOM

filterSingleEventRow: async function (stringToFilter, columnName) {
    try {
        await browser.wait(EC.presenceOf(GridColumnHeader), 12000);
        await ColumnHamburgerMenu(columnName).click();
        await ColumnFilterIcon.click();
        ...

where

GridColumnHeader = element(by.xpath('.//div[contains(@class, "ag-header")]'));
ColumnHamburgerMenu = element(by.xpath('.//div[@col-id= "' + columnName + '"]//span[(@ref= "eMenu")]'));
ColumnFilterIcon = element(by.xpath('//div[(@ref="eHeader")] //span[(@class="ag-icon ag-icon-filter")]'));
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!