'Look for elements in AG grid Tables with Cypress
I have ag grid tables and I need to interact with elements in it, I need to find them and then make some interactions or assertions. My issue is only elements in the view exist in the DOM so commmands like ScrollIntoView does not work (Error: Element does not exist in the DOM) and ScrollTo only allow top, right, bottom, left and I need to scroll the table looking for the element. I read something about ag grid api method ensureColumnVisible but I don't know how to consume the API in my framework. Thanks in advace.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|