Aishwarya Patankar
Aishwarya Patankar

Reputation: 11

Click and Double Click Not Working on Ag Grid Cell

I am using Karate to interact with an Ag Grid, and I'm facing an issue where the click and double click actions are not working on a specific cell in the grid. I have the following code snippet to click on the cell, but it doesn't seem to work as expected:

* waitFor("//div[@row-index='0']//descendant::div[@col-id='status' and @role='gridcell']").highlight()
* locate("//div[@row-index='0']//descendant::div[@col-id='status' and @role='gridcell']").click()

I have verified that the element is correctly located using the waitFor and locate commands, and the highlight function shows the element being highlighted. However, the click action does not seem to have any effect. There are no error messages in the console.

Has anyone encountered a similar issue while interacting with Ag Grid using Karate?

when trying to click on a cell within the grid to open a new page.

Upvotes: 1

Views: 480

Answers (0)

Related Questions