介绍
福哥在使用selenium实现自动化测试的时候发现,有些时候元素没有id、class、name属性,只能通过JS方式进行定位,这时候就想到了selenium的execute_script方法了。
今天我们就来了解一下selenium的execute_script方法的使用技巧吧~~