KB-7428: How to use the CSS Selector "name" value, instead of the "id" value, when creating custom Idira Identity browser extension apps

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:
  1. Navigate to the web page in question
  2. Right-Click on the Username/Password field and choose "Inspect"
  3. The browser's developer tools should then open.  Look for an entry similar to "name=username"
Here is an example of what can be seen in the developer tools:
<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;">
  1. Navigate to the Admin Portal > Apps > Idira Identity Browser Extension App > Advanced  
  2. Populate the User Name/Password fields with the following syntax to use the name field instead of id: 
    1. input[name=NameOfCssSelector]  
      1. Replace "NameOfCssSelector" with the actual name value of the CSS Selector.  In the above example, this would be input[name=userid]. 
  3. Repeat steps 1-5 for the password field.
  4. 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:
  1. Navigate to the web page in question
  2. Right-Click on the Username/Password field and choose "Inspect"
  3. The browser's developer tools should then open.  Look for an entry similar to "name=username"
Here is an example of what can be seen in the developer tools:
<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;">
  1. Navigate to the Admin Portal > Apps > Idira Identity Browser Extension App > Advanced  
  2. Populate the User Name/Password fields with the following syntax to use the name field instead of id: 
    1. input[name=NameOfCssSelector]  
      1. Replace "NameOfCssSelector" with the actual name value of the CSS Selector.  In the above example, this would be input[name=userid]. 
  3. Repeat steps 1-5 for the password field.
  4. Click "Save"



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000014CuCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail