tableCell()
This selector lets you identify a table cell on a web page with row and column and row values as options and locating table using proximity selectors, or table labels.
Examples
Section titled “Examples”tableCell({row:1, col:1}, "Table Caption")tableCell({id:'myColumn'}).text()tableCell({row:1,col:3}).text()highlight(tableCell({row:2, col:3}, "Table Caption"))highlight(text("Table Cell 2",above(tableCell({row:2, col:2}, "Table Caption"))))highlight(text("Table Cell 1",near(tableCell({row:1, col:1}, "Table Caption"))))click(link(above(tableCell({row:4,col:1},"Table Caption"))))highlight(link(above(tableCell({row:4,col:1},above("Code")))))Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
options | Object | Pair of row and column like {row:1, col:3} |
attrValuePairs | Object | Pairs of attribute and value like {“id”:“name”,“class”:“class-name”} |
label | string | The Table Caption or any Table Header or Table ID. |
args | relativeSelector | Proximity selectors |
Returns
Section titled “Returns”| Type | Description |
|---|---|
| TableCellWrapper | - |