selenium作业汇总

上节课回顾

tag name

<input  id='' name='' class=''>  只有id是唯一的      class作用:将具有相同class的元素进行统一css样式渲染

注意

  find_element_by没有找到列表,会抛出异常

  如果find_elements_by没有找到元素,不会抛异常,会返回一个空列表

猜你喜欢

转载自www.cnblogs.com/ylpaj/p/9219744.html