V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
woshichuanqilz
V2EX  ›  Python

这个民生银行的网页想用 selenium 输入登陆密码, 但是右键看不到这个元素

  •  
  •   woshichuanqilz · 2017-12-05 22:57:00 +08:00 · 3323 次点击
    这是一个创建于 2323 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://nper.cmbc.com.cn/pweb/static/login.html 需要安装控件, 这个登陆密码的地方右键是没反应的, 我查看源代码谢了这个

    driver.find_element_by_css_selector('#writeUserId').send_keys(accountname) # 有效
    driver.find_element_by_css_selector('#_ocx_passwordChar_login').send_keys(code) # 无效
    

    这里求助这个密码如何输入 20171205225511

    5 条回复    2017-12-06 16:18:00 +08:00
    580a388da131
        1
    580a388da131  
       2017-12-05 23:30:01 +08:00
    安全控件麻烦
    Icezers
        2
    Icezers  
       2017-12-05 23:40:22 +08:00
    这个安全控件似乎是桌面软件 而不是 web 页面。。
    34C
        3
    34C  
       2017-12-05 23:48:32 +08:00
    naive
    kimqcn
        4
    kimqcn  
       2017-12-06 09:56:50 +08:00
    用 autoit
    kavana
        5
    kavana  
       2017-12-06 16:18:00 +08:00
    直接支付时用手机扫吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3068 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:52 · PVG 22:52 · LAX 07:52 · JFK 10:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.