前提・実現したいこと
Selenium(Python)によりラジオボタン選択を自動実行したいのですが,下記のとおりエラーが出てしまいます.どなたかご教授いただけないでしょうか.
該当のソースコード
Python
1driver.find_element_by_xpath("//input[@value='0']").click()
該当のHTML
HTML
1<tr class="settingStatus"> 2 <th><span>公開設定</span></th> 3 <td> 4 <label class="label inline"><input checked="checked" value="1" name="status" type="radio"> 5公開 6 7</label> 8 <label class="label inline"><input value="0" name="status" type="radio"> 9下書き 10 11</label> 12 <label class="label inline"><input value="-1" name="status" onclick="Editor.registDatetime.fix_YMDHM()" type="radio"> 13
発生している問題・エラーメッセージ
elenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
回答1件
あなたの回答
tips
プレビュー