モダンの「アプリケーション/ブラウザを使用」アクティビティでオープン動作を「Never」、クローズ動作「Always」にすることによってもしEdgeを開いていたら閉じるという動作をすることは可能でしょうか?
現段階では上記の設定ですとEdgeを開いてない場合、エラーが出力されてしましますが私の要素の取得方法が悪いのかわからず、、
Edgeの開閉の有無にかかわらず、すべて閉じるには「プロセスを強制終了」を使用するほかないのでしょうか?
モダンの「アプリケーション/ブラウザを使用」アクティビティでオープン動作を「Never」、クローズ動作「Always」にすることによってもしEdgeを開いていたら閉じるという動作をすることは可能でしょうか?
現段階では上記の設定ですとEdgeを開いてない場合、エラーが出力されてしましますが私の要素の取得方法が悪いのかわからず、、
Edgeの開閉の有無にかかわらず、すべて閉じるには「プロセスを強制終了」を使用するほかないのでしょうか?
Hi @alonica
You can set the setting to close the browser by keeping Always or Never in edge Browser too. By keeping Never in Close setting of Use Application/Browser even when your process is completed the browser won’t close. By keeping Always in Close Setting of Use Application/Browser it will close the browser as soon as process is completed. If you set the Open Setting as IfNotOpen of Use Application/Browser it will open a new browser if the tab isn’t opened else if already opened it will continue in the same browser window
If you want to ensure that all instances of the Edge browser are closed before starting a new instance, you can use the “Kill Process” activity with the process name set to “msedge” or “MicrosoftEdge”.
Hope you understand!!
Regards
こんにちは
Open動作を IfNotOpenに
Close動作をAlwaysにすれば、希望の動作になるように思えますが、いかがでしょうか?
ご回答ありがとうござます。
教えていただいたやり方でできました!
下記方法でもできたので念のため記しておきます。
オープン動作:Never
クローズ動作:Open
エラー発生時に実行を継続:True
なぜか私の使用するシステムではYoichiさんに教えていただいたやり方ですと一瞬システムのエラー画面が表示されてしまうため(一瞬で消えるため処理には問題ない)今回はこちらを使用することとしました。
恐らくシステム起因の現象だと思うのでYoichiさんの回答を解決策とさせていただきます。
Thank you for the answering!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.