selenium - 如何使用xpath/selenium 中的标题标签访问表
问题描述
解决方案
这就是你想要做的。
//table[caption/a[@name='Student']]/tbody/tr/td[1]/a
推荐阅读
- python - 如何从列表中整理出类别中的值以便从 python 中的变量中访问数据?
- java - 使用条件 API 搜索 jsonb 字段
- flutter - 当它显示在聊天应用程序 Flutter 中时,无法使底部文本字段粘在键盘顶部
- xcode - Xcode 科尔多瓦项目 - 豆荚
- kubernetes - Apache Ignite 堆大小推荐
- android - android中没有数据到highcharts时如何设置默认消息
- mysql - 在mysql中没有得到想要的输出
- c++ - 谷歌测试测试C代码,没有析构警告
- angular - 如何更新 ngfor 生成的特定元素
- python - 当我尝试在 Windows 7 上安装 libxml2 时如何修复我的错误