css - Selenium IDE, identify row in table based on 3 columns -
i trying find row in table contains specific values on 3 columns.
i have tried methods in @paul trmbrth's answer find xpath identify cell in table based on other column. worked fine 2 columns, didn't worked 3. didn't find example cases more 2 values.
vehicle category | category | subcategory | exteriors | badges | exteriors | badges | exteriors | mirrors | interiors | wheels | interiors | rears
want cell combination contains:
a | exteriors | mirrors
i have tried no success:
//tr[contains(td[1], 'a')]/td[2][contains(., 'exterior')] td[3][contains(., 'mirror')] //tr[contains(td[1], 'a')]/td[2][contains(., 'exterior')] /td[3][contains(., 'mirror')] css=tr([td:contains('a')][td:contains('exterior')][td:contains('mirror')]) css=tr([td:contains('a')][td:contains('exterior')][td:contains('mirror')])
can help?
i think have couple of typos:
//tr[contains(td[1], '1') , contains(td[2], 'eve') , contains(td[3], 'jackson')]
but i'm not 100% efficient, work.
Comments
Post a Comment