使用selenium操作滑动验证码的方法是:1、使用selenium的Actions类的drag_and_drop_by_offset方法,模拟用户拖动滑块;2、使用selenium的execute_script方法,找到滑动按钮,模拟用户拖动滑块;3、使用selenium的execute_script方法,计算出滑动距离,然后模拟用户拖动滑块。
如何使用selenium操作滑动验证码
猜你喜欢
转载自blog.csdn.net/weixin_42588672/article/details/129551173
今日推荐
周排行