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 コマンドを実行できるサンプル コードを探しています。
通常、Selenium でテストを開始すると、ブラウザの新しいインスタンスが開きます。しかし、スクリプトを実行すると、現在表示されているブラウザとタブでコードの実行が開始されるソリューションを探しています。
それは可能ですか?
いいえ、ちがいます。2009 年以降、まだ開いている古い問題があります。
複数のページ要素と複数のレコードを持つページを作成する JSP を使用して Web アプリケーションを開発しました。その中のコンテンツをExcelファイルにエクスポートしたかったのです。
コードを使用しました
response.setContentType("application/vnd.ms-excel");