我想从Selenium切换到Poltergeist,但我需要模拟一个条形码扫描器,它看起来像是<body>标签的键盘输入.我在Selenium中使用此代码:
<body>
native.send_keys(send_key)
有没有办法让Poltergeist将一串键发送到任意元素(即不是输入)?
poltergeist
poltergeist ×1