KB-7428: How to use the CSS Selector "name" value, instead of the "id" value, when creating custom Idira Identity browser extension apps
85
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 12:59 PM
Question
Question:
When creating a custom browser extension application manually, or via infinite apps, how can the "name" value of the login/password field's CSS selector be used?
Environment
Identity
Answer
Answer:
Some web pages have dynamic id tags, or the id tags sometimes cannot be found by the Idira Identity Browser extension. In this situation, the "name" field is a possible alternative. To use the name field:
- Navigate to the web page in question
- Right-Click on the Username/Password field and choose "Inspect"
- The browser's developer tools should then open. Look for an entry similar to "name=username"
<input id="userInput" class="inptxt username-input" type="text" name="userid" size="33" maxlength="105" style="cursor: auto; background-image: none; background-position: 0% 0%; background-repeat: repeat;">
- Navigate to the Admin Portal > Apps > Idira Identity Browser Extension App > Advanced
- Populate the User Name/Password fields with the following syntax to use the name field instead of id:
- input[name=NameOfCssSelector]
- Replace "NameOfCssSelector" with the actual name value of the CSS Selector. In the above example, this would be input[name=userid].
- input[name=NameOfCssSelector]
- Repeat steps 1-5 for the password field.
- Click "Save"
Additional Information
Details
Question:When creating a custom browser extension application manually, or via infinite apps, how can the "name" value of the login/password field's CSS selector be used?
Answer:
Some web pages have dynamic id tags, or the id tags sometimes cannot be found by the Idira Identity Browser extension. In this situation, the "name" field is a possible alternative. To use the name field:
- Navigate to the web page in question
- Right-Click on the Username/Password field and choose "Inspect"
- The browser's developer tools should then open. Look for an entry similar to "name=username"
<input id="userInput" class="inptxt username-input" type="text" name="userid" size="33" maxlength="105" style="cursor: auto; background-image: none; background-position: 0% 0%; background-repeat: repeat;">
- Navigate to the Admin Portal > Apps > Idira Identity Browser Extension App > Advanced
- Populate the User Name/Password fields with the following syntax to use the name field instead of id:
- input[name=NameOfCssSelector]
- Replace "NameOfCssSelector" with the actual name value of the CSS Selector. In the above example, this would be input[name=userid].
- input[name=NameOfCssSelector]
- Repeat steps 1-5 for the password field.
- Click "Save"