Closed DoubleHYH closed 7 years ago
find elements from element
god = s(className = "Cell") childList = god[1].child(className = "StaticText")
maybe can use it like this:
s(className = "Tabel").child(className = "Cell").child(className = "StaticText")
but i didn't test this way
?what happened
功能上是用一个很粗暴的方式去实现的子节点查找,我看了一下你新加的Object类,用这个东西去实现比我之前写的实现方法合理多了。所以就关了。当然,不会用github,不清楚是不是可以这么操作
留着呗,我看你的当参考
child方法已添加
这个接口你是从哪里看到的,有代码地址吗? @DoubleHYH
https://w3c.github.io/webdriver/webdriver-spec.html
find elements from element
maybe can use it like this:
but i didn't test this way