按属性值变量获取元素(xpath)

时间:2017-05-24 00:58:56

标签: xpath

这有效:

$test: img[@data-src="https://www.google.com/"]

但有变量吗?

# fail!
img[@data-src={$og_image}]

0 个答案:

没有答案
相关问题