您可以使用nth-child选择器:
#items tr:nth-child(4) {color:#F00;}实时示例:https://jsfiddle.net/7ow15mv2/1/
但是不知道它是否可以与硒一起使用。
但是根据文档它应该。
当前,css选择器定位器支持所有css1,css2和css3选择器,但css3中的名称空间,一些伪类(:nth-of-
type,:nth-last-of-type,:first-of-type,:last-of-类型,:only-of-
type,:visited,:hover,:active,:focus,:indeterminate)和伪元素(:: first-line,::
first-letter,:: selection,:: before,::后)。



