- 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.
09-17-2024 10:36 PM
I am creating a CPM Plugin for WebApps. When I run the change process using the following command, the process is successful:
set pmextrapass3=ReconPassword123 && set pmnewpass=NewPassword123 && bin\CANetPluginInvoker.exe CiscoUser.xml changepass Cyberark.Extensions.Plugin.WebApp.dll True
However, when I use the same .ini file and initiate the change process from PVWA, it fails with the following error:
Execution error. Change process failed - Unable to press on button element 'dijitCheckBox'. Refer to the log for more. Error code:9304
Below are the debug logs when I run the command directly from CMD:
17/09/2024 11:44:10.958 | Info -> HTMLPageController :: FindElement -> Element 'dijitCheckBox' was found in page using type 'CLASS'.
17/09/2024 11:44:10.958 | Info -> HTMLPageController :: FindElement -> END
17/09/2024 11:44:10.958 | Info -> WebElementWrapper :: Click -> START
17/09/2024 11:44:10.958 | Info -> WebElementWrapper :: Click -> Clicking on element 'dijitCheckBox'
17/09/2024 11:44:11.082 | Info -> WebElementWrapper :: Click -> Clicked successfuly on element.
17/09/2024 11:44:11.082 | Info -> WebElementWrapper :: Click -> END
And here are the debug logs when I start the process from PVWA:
18/09/2024 12:09:08.370 | Info -> HTMLPageController :: FindElement -> Element 'dijitCheckBox' was found in page using type 'CLASS'.
18/09/2024 12:09:08.370 | Info -> HTMLPageController :: FindElement -> END
18/09/2024 12:09:08.370 | Info -> WebElementWrapper :: Click -> START
18/09/2024 12:09:08.370 | Info -> WebElementWrapper :: Click -> Clicking on element 'dijitCheckBox'
18/09/2024 12:09:09.458 | ERROR -> WebElementWrapper :: Click -> Failed to press on button. Exception Details: OpenQA.Selenium.ElementClickInterceptedException: element click intercepted: Element <div tabindex="0" class="dijitCheckBox">...</div> is not clickable at point (48, 273). Other element would receive the click: <div id="sidenav" class="" style="height: 633px; max-height: 633px;">...</div>
(Session info: chrome=128.0.6613.85)
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Click()
at CyberArk.WebAutomationUtils.WebElementWrapper.Click(Int32 actionTimeout)
Does anyone have any idea why this can happen?
09-17-2024 11:45 PM
There could be a pop-up (eg cookies) that is covering what you need to press. You'd have to work out if that's the case and code to close it.
Another possible cause is that the webpage hasn't fully loaded when you are trying to click. Try adding a wait before you try the click.
https://community.cyberark.com/s/article/How-to-let-the-system-sleep-for-a-few-seconds-for-CPM-Web-Application-Plug-in
09-17-2024 11:45 PM
There could be a pop-up (eg cookies) that is covering what you need to press. You'd have to work out if that's the case and code to close it.
Another possible cause is that the webpage hasn't fully loaded when you are trying to click. Try adding a wait before you try the click.
https://community.cyberark.com/s/article/How-to-let-the-system-sleep-for-a-few-seconds-for-CPM-Web-Application-Plug-in
11-06-2024 07:26 AM
Hi Mal,
I believe I found the error but haven’t identified the solution yet.
The issue seems to stem from the screen resolution. When I test directly using the CANetPluginInvoker.exe command, my screen’s high resolution loads the entire browser window correctly.
To diagnose the error, I performed tests at a lower resolution (1024x768). Under this setting, executing the same command fails because a panel covers the object being clicked due to the lower resolution.
With this in mind, I would like to ask if there’s a way to increase the screen resolution or window size used by the Web Application CPM Plugin Framework during the password change process.
Regards,
Diego
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!

