定位元素后进行点击操作的错误

作者: hothotds创建于 2026年8月10日更新于 2026年9月16日

from DrissionPage import ChromiumPage page = ChromiumPage() page.get('https://hanime1.me/search')

Fill in the content and click the search button

page.ele('.search-input-desktop').input('YeYeBirdie (イェイェバルディ)') page.ele('#search-btn i').click(by_js=True) This should be able to search, but I don't know why the search tag is not displayed. Let's change ai to the following to make it work

内容来源: g1879/DrissionPage