在xpath(不是内联样式)中使用css类样式属性?

时间:2019-06-07 19:05:19

标签: selenium xpath

如何通过xpath中的CSS类定义样式属性?

让我们考虑SO中的左侧栏。如何编写xpath来搜索具有width:164px' defined in左侧`类的元素。

enter image description here

0 个答案:

没有答案