Python代码大全之selenium获取WebElement的所以子元素或父元素(含代码)

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/iCloudEnd/article/details/100177964
# find_elements_by_xpath("./*")  找到所有子元素
# find_elements_by_xpath("./..")  找到父元素

猜你喜欢

转载自blog.csdn.net/iCloudEnd/article/details/100177964