- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
02-26-2026 01:21 PM
I have trying to get the PVWA to auto populate the password using the webforms function.
Below works for the username:
username>{Username}(searchby=name)
But for password I have tried the below:
Here is the element I have trying to clue off of but it doesnt work.
<input _ngcontent-ng-c754439514="" aria-label="Password input" autocomplete="new-password" class="validation-subject ng-star-inserted" type="password" placeholder="Password" style="">
This only started happening with the newest version of Fortinet 7.6.
03-01-2026 04:44 PM
Hi,
You can try with this:
/html/body/fos-login-root/fos-login/nu-prompt/div/div^[2^]/div/div/form/section/div/input > {Password}(searchby=xpath)
Notice the ^ before [2^]
or:
In this link: (https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm?Highlight=psm%20web%20application) the valid values for SearchBy are: ID/Name/Class/Text/XPath.
by class:
.validation-subject > {Password}(searchby=class)
By XPath with attribute:
//input[@type='password'] > {Password}(searchby=xpath)
You can also add a small wait before the password field:
username > {Username}(searchby=name)
(Wait=2)
//input[@type='password'] > {Password}(searchby=xpath)(sendslow=1)
Let us know which one works!
02-27-2026 05:31 AM
Hello! When you configured it to use xpath, did you insert the "^" before all the "[" and "]"?
In the CC configuration, you always need a ^ before any [ or ].
03-01-2026 04:44 PM
Hi,
You can try with this:
/html/body/fos-login-root/fos-login/nu-prompt/div/div^[2^]/div/div/form/section/div/input > {Password}(searchby=xpath)
Notice the ^ before [2^]
or:
In this link: (https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm?Highlight=psm%20web%20application) the valid values for SearchBy are: ID/Name/Class/Text/XPath.
by class:
.validation-subject > {Password}(searchby=class)
By XPath with attribute:
//input[@type='password'] > {Password}(searchby=xpath)
You can also add a small wait before the password field:
username > {Username}(searchby=name)
(Wait=2)
//input[@type='password'] > {Password}(searchby=xpath)(sendslow=1)
Let us know which one works!
03-04-2026 07:21 AM
Thanks for the help. That was the part I was missing.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

