推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Syueking
V2EX  ›  Python

Selenium 是不是已经废了?

  •  
  •   Syueking · Aug 18, 2022 · 8263 views
    This topic created in 1546 days ago, the information mentioned may be changed or developed.

    感觉稍微有点水平的网站都能识别出 selenium+webdriver 了,试了好几个网站,都一直跳验证码,验证码过了直接报错,一点都不好用。。

    14 replies  •  2023-09-17 15:30:23 +08:00
    233373
    233373
    Aug 18, 2022
    1
    看看 puppeteer
    GreatAuk
    GreatAuk
    Aug 18, 2022❤️1
    2
    @233373 应该说看看后起之秀 playwright 了
    ila
    ila
    Aug 18, 2022 via Android
    4
    去掉 header 的 selenium 相关信息
    lxghost
    lxghost
    Aug 18, 2022
    5
    利用 stealth.min.js 隐藏 selenium 特征
    https://blog.csdn.net/w11231/article/details/124138215
    supersu
    supersu
    Aug 18, 2022 via Android❤️2
    6
    chromedp 大法好~
    c0t
    c0t
    Aug 18, 2022 via Android
    7
    selenium 本来也就是个开发测试工具...
    Syueking
    Syueking
    OP
    Aug 18, 2022
    8
    @233373
    @GreatAuk
    @QuinceyWu
    @lxghost
    @supersu
    谢谢,学习学习~
    aleen42
    aleen42
    Aug 19, 2022 via Android
    9
    樓主是用來爬蟲?作為測試框架它還沒廢
    heartlocker
    heartlocker
    Aug 19, 2022
    10
    如果是 windows 平台 欢迎尝试 clicknium 。https://www.clicknium.com/documents/quickstart
    blankmiss
    blankmiss
    Aug 23, 2022
    11
    @QuinceyWu 这个是 js 用的吧
    jeeyong
    jeeyong
    Aug 24, 2022
    12
    项目主要用 selenium 做爬虫...
    也尝试过用 playwright 替代 selenium. playwright 真的挺.....现代化? 写起来挺舒畅的.
    但是一些人机识别措施还是要用 selenium...selenium 的功能比 pw 多一点点, 在触摸操作上....
    我还没吃透 cdp 的东西, 所以都模拟, 不会.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 13:47 · PVG 21:47 · LAX 05:47 · JFK 08:47
    ♥ Do have faith in what you're doing.