Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
splinter を使用して、検索機能を使用して収集されたリンクのリストを反復処理し、それぞれを順番にクリックするにはどうすればよいですか?
Splinter は、検索機能を使用して、「store」という名前の各要素のリンクを検索しています。
browser.find_link_by_partial_href('/store/')
browser.click次に、各リンクに順番にアクセスするために各インデックスを渡すにはどうすればよいですか?
browser.click
links = browser.find_link_by_partial_href('/store/') for link in links: link.click()