6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Selenium IDEでclickコマンドを記録したときの注意事項

6
Posted at
click コマンドを記録したときの注意事項

Selenium IDEでリンクをクリックする操作は、click コマンドで記録されるので
これを clickAndWait コマンドに変更する

変更する理由

click コマンドだと、クリック操作だけで次のコマンドが即実行されてしまう。
新しいWebページの読込みが終わるまで次のコマンドを実行しないようにするためは、clickAndWait コマンドに変更する必要がある

click コマンドの後に、次のコマンドが実行されないよう
都度 pauseコマンドを入れてたのですが、その必要はなさそうです。

よく調べてみたら、以下URL(日本語リファレンス)にも同じ内容が記述されていました。
http://oss.infoscience.co.jp/seleniumhq/docs/03_selenium_ide.html

6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?