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.
ブラウザーの自動化に Selenium を使用する (Python)。
私が正しく理解していれば、次のコードが使用されます
inputElement = driver.find_element_by_name("q") the_text = inputElement.text
特定の要素内を見るのではなく、ページ全体のテキストを取得するにはどうすればよいでしょうか?
JSON を使用して Web サービスを作成しました。それを解析してリストビューに表示したいと考えています。しかし、アプリケーションを実行すると強制終了し、エラー メッセージが表示されます。コードを確認してください。何か問題がありますか?
アプリケー