python - 如何引用包含冒号的属性?(硒/python/xpath/css)
解决方案
.grid > div:first-child input {
/* this would target Last Name */
}
.grid > div:nth-child(3) input {
/* replace 3 with whatever you want. 1 would target Last Name, 2 would target First Name, 3 would target Middle Name
}
推荐阅读
- python - 切片以创建小批量
- html - html/liquid
- firebase - Firebase 身份验证颤动
- python - 将列表列表中的项目更改为指定值并用于计算
- ruby-on-rails - 在 Xcode 11.3.1 中安装 sudo gem install cocoapods 时遇到错误
- python - SQLalchemy 过滤器按星期几转换日期时间
- amazon-web-services - Linux 64 位到 AWS ARM 架构
- java - 定制Base64算法
- python - 在 3.4.2.0 以上的 cv2 版本上使用 SIFT 算法(Python 3)
- swift - swift) 在 for 循环中,即使迭代最后一个索引,引用 .index(after: index) 也不会出错?为什么?