pythonのseleniumで検索エンジンで数字を入力する際に元々テキストボックスに入っている数字を消して新たに自分が入力したい数字を入力したいのですができません
やり方の方法を検索してその方法でやっているつもりなのですがどこか間違っていますか?
何卒ご教授よろしくお願いいたします
【実際のコード】
numbers = driver.find_element_by_name('lower').clear()
numbers.send_keys('123')
エラー:selenium.common.exceptions.InvalidElementStateException: Message: invalid element state: Element is not currently interactable and may not be manipulated
【HTML】
<div class="options"><input maxlength="16" type="text" name="lower" value="-3513.61"> 以上 <input maxlength="16" type="text" name="upper" value="31471.00"> 以下</div>【参考にしたサイト】
https://www.seleniumqref.com/api/python/element_set/Python_clear.html

回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/09/14 06:48 編集
2021/09/14 06:31