> 好多小伙伴不会用SmWeb.dll插件,
> 建议我出个网页填表的教程,
> 刚好按键精灵论坛开放了,
> 那我就用按键精灵论坛打卡签到来进行实战教程吧!
【抓取元素特征】
* 要对元素操作话,需要抓取到元素特征,来定位元素
1、启动谷歌浏览器,启动开发者工具,进入按键精灵论坛
![](http://tiebapic.baidu.com/forum/w%3D580/sign=d818ece021d98d1076d40c39113eb807/95e0ddc451da81cbcf1ef9d10f66d01608243144.jpg?tbpicau=2024-09-18-05_4989b6d281fe713b1c0237bf565e196d)
2、抓取进入登录元素,抓取账号、密码输入框元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=3530430fcf13632715edc23ba18da056/bdbbe5dde71190ef52294d0c8b1b9d16fffa60a5.jpg?tbpicau=2024-09-18-05_64cf0687df296938130337d5edde207c)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=841cc23c5ce9390156028d364bed54f9/695481cb39dbb6fdaaa39f3a5424ab18962b3744.jpg?tbpicau=2024-09-18-05_400b3b28d19e99aa8415d4af2e908087)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=8b03e219143d26972ed3085565f9b24f/a598fdfaaf51f3de9f6066b7d1eef01f382979a5.jpg?tbpicau=2024-09-18-05_e2a6f8495305aafa75babfb67977a84e)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=45cb34c009e736d158138c00ab514ffc/e8980924ab18972b29c27ad6bbcd7b899f510a44.jpg?tbpicau=2024-09-18-05_161b5f031dccddf1a1907a0ebbc00564)
3、抓取判断是否已签到元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=7cd2cc741cee3d6d22c687c373146d41/97dff3deb48f8c54b9011afc7f292df5e2fe7fa5.jpg?tbpicau=2024-09-18-05_59fdb3daa4c91943c6b73b653d03de58)
4、抓取打卡签到元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=7601d78e10fbb2fb342b581a7f482043/8c018c5494eef01f15c6c716a5fe9925be317da5.jpg?tbpicau=2024-09-18-05_de27f1ac7500167b8d86d8e1b0c31d73)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=bbfed47c12c2d562f208d0e5d71090f3/0d74e6cd7b899e510d7540081fa7d933c9950d44.jpg?tbpicau=2024-09-18-05_8b440f765eed3af9a3f2c59392e58334)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=0d82bf18f7fb43161a1f7a7210a64642/b4da94eef01f3a291d1a0a1ddc25bc315e607ca5.jpg?tbpicau=2024-09-18-05_c4cb9b99e4a1e670a4f59510312bb277)
> 建议我出个网页填表的教程,
> 刚好按键精灵论坛开放了,
> 那我就用按键精灵论坛打卡签到来进行实战教程吧!
【抓取元素特征】
* 要对元素操作话,需要抓取到元素特征,来定位元素
1、启动谷歌浏览器,启动开发者工具,进入按键精灵论坛
![](http://tiebapic.baidu.com/forum/w%3D580/sign=d818ece021d98d1076d40c39113eb807/95e0ddc451da81cbcf1ef9d10f66d01608243144.jpg?tbpicau=2024-09-18-05_4989b6d281fe713b1c0237bf565e196d)
2、抓取进入登录元素,抓取账号、密码输入框元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=3530430fcf13632715edc23ba18da056/bdbbe5dde71190ef52294d0c8b1b9d16fffa60a5.jpg?tbpicau=2024-09-18-05_64cf0687df296938130337d5edde207c)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=841cc23c5ce9390156028d364bed54f9/695481cb39dbb6fdaaa39f3a5424ab18962b3744.jpg?tbpicau=2024-09-18-05_400b3b28d19e99aa8415d4af2e908087)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=8b03e219143d26972ed3085565f9b24f/a598fdfaaf51f3de9f6066b7d1eef01f382979a5.jpg?tbpicau=2024-09-18-05_e2a6f8495305aafa75babfb67977a84e)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=45cb34c009e736d158138c00ab514ffc/e8980924ab18972b29c27ad6bbcd7b899f510a44.jpg?tbpicau=2024-09-18-05_161b5f031dccddf1a1907a0ebbc00564)
3、抓取判断是否已签到元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=7cd2cc741cee3d6d22c687c373146d41/97dff3deb48f8c54b9011afc7f292df5e2fe7fa5.jpg?tbpicau=2024-09-18-05_59fdb3daa4c91943c6b73b653d03de58)
4、抓取打卡签到元素
![](http://tiebapic.baidu.com/forum/w%3D580/sign=7601d78e10fbb2fb342b581a7f482043/8c018c5494eef01f15c6c716a5fe9925be317da5.jpg?tbpicau=2024-09-18-05_de27f1ac7500167b8d86d8e1b0c31d73)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=bbfed47c12c2d562f208d0e5d71090f3/0d74e6cd7b899e510d7540081fa7d933c9950d44.jpg?tbpicau=2024-09-18-05_8b440f765eed3af9a3f2c59392e58334)
![](http://tiebapic.baidu.com/forum/w%3D580/sign=0d82bf18f7fb43161a1f7a7210a64642/b4da94eef01f3a291d1a0a1ddc25bc315e607ca5.jpg?tbpicau=2024-09-18-05_c4cb9b99e4a1e670a4f59510312bb277)