Find value inside html table with Codeception

Hello !

I’m writting some acceptance tests on a PHP application with Codeception and something block me.
I need to find the value of a specific col inside an HTML table.
The only information I have is the value of another col of the row.

There is the HTML structure :

        <td>Here is the value I need to grab</td>
        <td>Here is the value I have</td>

Does anyone know how to do this?

Thank you in advance !

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *