Skip to main content

Hi Team,

We are on a version 24.2.0, When I try to launch the ps_automate session from the cmd line, I’m getting the below prompt about msedgedriver but actual MS Edge Browser is not launched, but if you look into the log file, it shows that session has been started.

ps_automate.exe ini="D:\Enhanced Session Utility\PS Automate\BIWebApp.ini" TargetURL="https://xxxxx.ps.beyondtrustcloud.com/WebConsole/index.html#!/dashboard" BrowserName="msedge" username=xxx password=xxx

Please check the below reply for detailed log.

 

Detailed log file

2025/02/12 12:20:13	[Info] Terminal Session: True
2025/02/12 12:20:13 [General] [ini] EnableLogging=4
2025/02/12 12:20:13 [General] [ini] LogMethod=1
2025/02/12 12:20:13 [General] [ini] LogPath=C:\Program Files\BeyondTrust\pbpsmon
2025/02/12 12:20:13 [General] [ini] FixupPassword=1
2025/02/12 12:20:13 [General] [ini] RunApp=
2025/02/12 12:20:13 [General] [ini] TargetURL=%targeturl%
2025/02/12 12:20:13 [GlobalSequenceDelay] 250
2025/02/12 12:20:13 [General] [ini] FileChangeDir:
2025/02/12 12:20:13 [General] [ini] BrowserName: %browsername%
2025/02/12 12:20:13 Passing passwords on the commandline is not secure, use the passthrough method instead.
2025/02/12 12:20:13 [Credentials] Username: xxxx
2025/02/12 12:20:13 [Credentials] Password: *masked*
2025/02/12 12:20:13 [Function] launch_WebApp ()
2025/02/12 12:20:13 [Function] insert_custom_strings (*MASKED*)
2025/02/12 12:20:13 [Custom string] browsername
2025/02/12 12:20:13 [Function] insert_custom_strings (*MASKED*)
2025/02/12 12:20:13 [Custom string] targeturl
2025/02/12 12:20:13 [General] Wait for driver to close, then check for update
2025/02/12 12:20:13 [General] Prepare to update driver - MSEdge
2025/02/12 12:20:14 [Function] DownloadBrowserDriver - UpdateResult = False
2025/02/12 12:20:14 [General] [ini] IgnoreCerts=0
2025/02/12 12:20:14 [Function] launch browser msedge navigate url https://xxxxx.ps.beyondtrustcloud.com/WebConsole/index.html#!/dashboard
2025/02/12 12:20:17 [Function] WebDriver_PID 11616
2025/02/12 12:20:19 [Function] Session
2025/02/12 12:20:29 [Function] Window handle 0
2025/02/12 12:20:29 [Function] enumerate_task_sequences (WebApp)
2025/02/12 12:20:29 [TaskSequence1] BEGIN
2025/02/12 12:20:29 [Function] execute_task_sequence_webapp (TaskSequence1)
2025/02/12 12:20:29 [TaskSequence1] [ini] WaitLoginWindowDelay=0
2025/02/12 12:20:29 [TaskSequence1] [ini] XPathElement=//input[@name='username']
2025/02/12 12:20:29 [TaskSequence1] [ini] XPathValue=%username%
2025/02/12 12:20:29 [TaskSequence1] [ini] XPathAction=
2025/02/12 12:20:31 [Function] insert_custom_strings (*MASKED*)
2025/02/12 12:20:31 [Custom string] username
2025/02/12 12:20:33 [TaskSequence1] END
2025/02/12 12:20:33 [TaskSequence2] BEGIN
2025/02/12 12:20:33 [Function] execute_task_sequence_webapp (TaskSequence2)
2025/02/12 12:20:33 [TaskSequence2] [ini] WaitLoginWindowDelay=0
2025/02/12 12:20:33 [TaskSequence2] [ini] XPathElement=//input[@name='password']
2025/02/12 12:20:33 [TaskSequence2] [ini] XPathValue=%password%
2025/02/12 12:20:33 [TaskSequence2] [ini] XPathAction=
2025/02/12 12:20:35 [Function] insert_custom_strings (*MASKED*)
2025/02/12 12:20:35 [Custom string] password
2025/02/12 12:20:37 [TaskSequence2] END
2025/02/12 12:20:38 [TaskSequence3] BEGIN
2025/02/12 12:20:38 [Function] execute_task_sequence_webapp (TaskSequence3)
2025/02/12 12:20:38 [TaskSequence3] [ini] WaitLoginWindowDelay=2000
2025/02/12 12:20:38 [TaskSequence3] [ini] XPathElement=//ui-button-with-progress-bar[@class='login']
2025/02/12 12:20:38 [TaskSequence3] [ini] XPathValue=
2025/02/12 12:20:38 [TaskSequence3] [ini] XPathAction=click
2025/02/12 12:20:46 [TaskSequence3] END
2025/02/12 12:20:46 [TaskSequence] All sections processed.
2025/02/12 12:20:46 [Function] quit_script
2025/02/12 12:20:48 [Function] quit_script - App terminated

 


is the driver and browser the same version?


@Prudhvi Keertipati  Can you please refer this KB.  KB0021519

 

https://beyondtrustcorp.service-now.com/csm?sys_kb_id=14a8359e1be65ad034216570604bcbad&id=kb_article_view&sysparm_rank=1&sysparm_tsqueryId=60b7a17947f79e10b77b3ddbd36d4336


Reply