Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
关于 selenium 模块中的 send_keys 的问题
18870715400
·
Aug 21, 2020
· 2149 views
This topic created in 2269 days ago, the information mentioned may be changed or developed.
这几天使用 send_keys 的时候有时候会出现输入的值不全的问题, 比如 123456 只输入了 12345, 应该如何解决这类问题呢?
send_keys
Selenium
输入
问题
4 replies
•
2020-08-21 15:19:22 +08:00
musi
Aug 21, 2020
1
直接注入 js?用 js 操作 dom?
chaogg
Aug 21, 2020
2
我也遇到过,应该是 bug 。直接使用执行 js 的方式写入吧
18870715400
OP
Aug 21, 2020
3
@
musi
之前用的是 driver.find_element_by_id("xxx").send_keys("123456")这种有的时候会出现输入不全的问题, 现在正在使用 js 测试
18870715400
OP
Aug 21, 2020
4
@
musi
@
chaogg
谢谢
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1505 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 01:13
·
PVG 09:13
·
LAX 17:13
·
JFK 20:13
♥ Do have faith in what you're doing.
❯