How to configure PSM WebApp Dropdown list

How to configure PSM WebApp Dropdown list

152
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:58 PM


Symptom


The customer would like to use a Dropdown list while connecting trough WebApp



Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)

PSM > PSM Connection via PVWA



Cause


We can't use just the ID Element



Resolution


1. Launching it in chrome.

2. Look for the correct entry that will highlight the button.

3. Right-click on it -> copy -> copy XPath, then paste it on a notepad. 

For example - update the XPath parameter as follow:

//*[@id="bottomButtonRow"]/input[1]
Change to:
//*^[@id="bottomButtonRow"^]/input^[1^]


4. Then paste the updated XPath into the config, and update the SearchBy ID to XPath.

An example is:
This will select the Italian language.

//*^[@id="languageid"^]/option^[7^]>(Click)(searchby=xpath)

username>{Username}(searchby=id)
password>{Password}(searchby=id)
loginbutton>(Button)(searchby=name)
 

<div class="language_select">

<select name="languageid" id="languageid" onchange="loadLanguageFile(this.value)">
 

<option value="10" >Brazilian-Portuguese</option>
<option value="4" >Chinese-Simplified</option>
<option value="3" >Chinese-Traditional</option>
<option value="1" selected="selected">English</option>
<option value="5" >French</option>
<option value="7" >German</option>
<option value="8" >Italian</option> ---> (option[7])
<option value="6" >Japanese</option>
<option value="9" >Korean</option>
<option value="11" >Russian</option>
<option value="12" >Spanish</option>
 

</select>
 

</div>



Actions
  • Print
  • Copy Link

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