Skip to main content
Question

PS Automate Issue - Browser not Launched - MS Edge and Chrome

  • February 12, 2025
  • 5 replies
  • 286 views

Prudhvi Keertipati
Forum|alt.badge.img+3

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.

 

5 replies

Prudhvi Keertipati
Forum|alt.badge.img+3

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

 


  • Apprentice
  • 1 reply
  • February 17, 2025

is the driver and browser the same version?


Forum|alt.badge.img+3
  • Trailblazer
  • 10 replies
  • February 19, 2025

Prudhvi Keertipati
Forum|alt.badge.img+3

The issue is with the ps_automate 24.2.x.x, I had download a latest version of ps_automate and it is working fine now.


Forum|alt.badge.img+1
  • Veteran
  • 34 replies
  • March 24, 2025

which one did you downloas ​@Prudhvi Keertipati  becase i have trying all of them unsuccessfully. I have same isue as you: MSEdge and chrome. But firefox: “expected browser binary location”.