# Repeated actions in a web browser

**URL:** <https://forum.uipath.com/t/web/3290556>\
**Category:** フォーラム\
**Tags:** question, studiox\
**Created:** [July 28, 2025, 3:19am UTC](https://forum.uipath.com/t/web/3290556 "2025-07-28T03:19:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukenken](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ukenken/32/514392_2.png) [@ukenken](https://forum.uipath.com/u/ukenken)\
**Post date:** [July 28, 2025, 3:19am UTC](https://forum.uipath.com/t/web/3290556/1 "2025-07-28T03:19:01Z")

</div>

Hello,  
I checked previous forum posts, but couldn’t find a solution that worked for me, so I’m posting here.

I don’t know how to recognize a specific icon on a website and repeat an action.  
The specific icon is circled in red in the image below.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/a/0/7/a07651db1934128d3f9db859d0252138a8c18180.png)

The specific steps I have in mind are as follows:  
① Filter the results to display the state shown in the attached image in the browser.  
② Click the specific icon in the top row → the individual record page is displayed.  
③ Perform another action on the individual page → save → return to the page in step ①.  
④ Since the page in step ① shows the filtered results, the record processed in step ② has been removed from the list. Click the specific icon in the top row (then repeat steps ③ and ④ until the specific icon is no longer displayed).

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [July 28, 2025, 3:25am UTC](https://forum.uipath.com/t/web/3290556/2 "2025-07-28T03:25:47Z")

</div>

こんにちは

> [@ukenken](#):
>
> （以降、特定のマークが表示されなくなるまで③④の繰り返し）

基本的にはループ（繰り返し（前判定）アクティビティ等）を作っておいて、ループの最初に1行目に特定マークの有無をチェック→なければループを抜ける処理(Breakアクティビティ）を行えば良いように思えます。

---

<div class="post-metadata">

**Author:** ![yedukondaluaregala](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yedukondaluaregala/32/557780_2.png) [@yedukondaluaregala](https://forum.uipath.com/u/yedukondaluaregala)\
**Post date:** [July 28, 2025, 5:36am UTC](https://forum.uipath.com/t/web/3290556/3 "2025-07-28T05:36:07Z")

</div>

@ukenken

Did you tried with **For Each UiElement** activity, if not please try with that

---

<div class="post-metadata">

**Author:** ![ukenken](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ukenken/32/514392_2.png) [@ukenken](https://forum.uipath.com/u/ukenken)\
**Post date:** [July 28, 2025, 6:33am UTC](https://forum.uipath.com/t/web/3290556/4 "2025-07-28T06:33:29Z")

</div>

Dear Yoichi,

Thank you for your comment 🙇‍♂️

I tried putting it together like this, but after pausing for a while on the screen referred to above as ①, a log appeared saying that execution had finished, and no processing was performed.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/5/3/c/53cff347862d8af93405de4171f13c15d2d427cc.png)  
First of all, is using For Each UI Element the right approach?

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [July 28, 2025, 6:35am UTC](https://forum.uipath.com/t/web/3290556/5 "2025-07-28T06:35:07Z")

</div>

> [@ukenken](#):
>
> To begin with, is it correct to use the Repeat (Each UI Element) activity?

I don’t think the Repeat (Each UI Element) activity is suitable for this case.  
Since you only need to check the first row each time, you could use, for example, a Repeat (Pre-Condition) activity for the loop, and handle the check for exiting the loop with a conditional branch inside it.

---

<div class="post-metadata">

**Author:** ![ukenken](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ukenken/32/514392_2.png) [@ukenken](https://forum.uipath.com/u/ukenken)\
**Post date:** [July 28, 2025, 7:21am UTC](https://forum.uipath.com/t/web/3290556/6 "2025-07-28T07:21:32Z")

</div>

Dear Yoichi,

Thank you for letting me know that the UI Element activities aren’t suitable.  
I’m sorry to ask so many questions, but how should I specify in the precondition field whether an arbitrary mark is present in the first row of a table in a web browser?

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [July 28, 2025, 7:25am UTC](https://forum.uipath.com/t/web/3290556/7 "2025-07-28T07:25:26Z")

</div>

> [@ukenken](#):
>
> How should I specify this in the precondition field?

You don’t enter it there.  
I think you can simply set the condition to true, or set a maximum number of iterations to prevent an infinite loop.  
Inside the loop, use an activity such as Check App State, and if the target isn’t present, use the Break activity to exit the loop.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/6/2/3/623a5edfa1db58dfc85735244cd0d1d201c74e7c.png)

---

<div class="post-metadata">

**Author:** ![ukenken](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ukenken/32/514392_2.png) [@ukenken](https://forum.uipath.com/u/ukenken)\
**Post date:** [July 29, 2025, 12:59am UTC](https://forum.uipath.com/t/web/3290556/8 "2025-07-29T00:59:16Z")

</div>

Dear Yoichi,

Thank you.  
Do you happen to know what the activity immediately before While is called in the Japanese version?  
When I ran it without the Do part, as shown below, execution finished without performing any actions.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/c/b/0/cb0381518a5b382d4281259d99ed16d4926e8fcc.png)

---

<div class="post-metadata">

**Author:** ![Yoichi](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yoichi/32/523754_2.png) [@Yoichi](https://forum.uipath.com/u/Yoichi)\
**Post date:** [July 29, 2025, 1:02am UTC](https://forum.uipath.com/t/web/3290556/9 "2025-07-29T01:02:46Z")

</div>

> [@ukenken](#):
>
> When I ran it without a Do section, execution finished without performing any action.

Do is unrelated to the processing.  
Add a log message to each branch for when the target appears and when it does not, then check which one it goes through. (I suspect it’s going down the branch where it doesn’t appear. → If so, there may be an issue with the element selector.)

---

<div class="post-metadata">

**Author:** ![ukenken](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ukenken/32/514392_2.png) [@ukenken](https://forum.uipath.com/u/ukenken)\
**Post date:** [July 29, 2025, 5:09am UTC](https://forum.uipath.com/t/web/3290556/10 "2025-07-29T05:09:45Z")

</div>

Dear Yoichi,

We found that the flow wasn’t progressing as expected because the click instruction was positioned incorrectly.  
The fix worked successfully. Thank you very much 🙇‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [August 1, 2025, 5:09am UTC](https://forum.uipath.com/t/web/3290556/11 "2025-08-01T05:09:50Z")

</div>

Closed on August 1, 2025, 5:09am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
