【文件属性】:
文件名称:需要把属性名称作为参数传递给-origin9.0教程
文件大小:6.56MB
文件格式:PDF
更新时间:2021-06-29 20:21:16
selenium python
(1)需要把属性名称作为参数传递给
get_attribute()方法。
# check maxlength of first name and last name textbox
self.assertEqual("255", first_name.get_attribute("maxle
ngth"))
self.assertEqual("255", last_name.get_attribute("maxlen
gth"))