Skip to content

Commit 2189aaf

Browse files
authored
minor change
1 parent 194cd5a commit 2189aaf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

support/power-platform/power-automate/desktop-flows/browser-automation/web-automation-action-fails-runtime.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To solve this issue, you can try to [repair the CSS selector](/power-automate/de
3030

3131
## Resolution 2
3232

33-
To solve this issue, you can manually create a new robust CSS selector. It will be able to locate the element of interest even though the HTML structure changes. For more information, see [Build a custom selector](/power-automate/desktop-flows/build-custom-selectors).
33+
To solve this issue, you can manually create a new robust CSS selector. It will be able to locate the element of interest even though the HTML structure changes.
3434

3535
To achieve that, capture again the web element after the failure, and compare the new CSS selector with the old one.
3636
CSS selectors can be reviewed and edited through the **Selector builder** window:
@@ -50,3 +50,5 @@ Examples:
5050
- The selector contains an element that has a class that is dynamic, such as `div[class="some_class123"]`. This can be modified to `div[class^="some_class"]` ("Starts with" operator).
5151
- The selector contains an element that has many dynamic attributes such as `div[class="some_class123"][id="some_id123"] > a[id="some_id"]`. This can be modified to `a[id="some_id"]` (omitting the first part completely).
5252
- The element of interest has some static text - the selector can be modified to include only that text. For example, `div[class="some_class123"][id="some_id123"] > a[id="some_id"]` could be modified to `a:contains("the_text_we_see_on_the_webpage")`.
53+
54+
For more information, see [Build a custom selector](/power-automate/desktop-flows/build-custom-selectors).

0 commit comments

Comments
 (0)