Code:
Let>CHROMEDRIVER_EXE=%SCRIPT_DIR%\chromedriver.exe
Let>CHROMEDRIVER_OPTIONS=--start-maximized
ChromeStart>session_id
A Chrome window opens and immediately disappears. What's the solution to getting the window to stay visible please? Thanks!
This script successfully opens MS Edge and it does not disappear.
Let>EDGEDRIVER_EXE=%SCRIPT_DIR%\msedgedriver.exe
EdgeStart>session_id
Chrome window opens and disappears
Moderators: JRL, Dorian (MJT support)
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
- Dorian (MJT support)
- Automation Wizard
- Posts: 1415
- Joined: Sun Nov 03, 2002 3:19 am
Re: Chrome window opens and disappears
I've just answered an identical question over at tech support. I had this problem too quite a long time ago, and it was because I was using the incorrect Chromedriver and it was still resident in memory.
If this is a new issue then it's possible Chrome has updated itself to a new version.
These are the steps you need :
https://help.mjtnet.com/article/344-chr ... nary-names
If this is a new issue then it's possible Chrome has updated itself to a new version.
These are the steps you need :
https://help.mjtnet.com/article/344-chr ... nary-names
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
Re: Chrome window opens and disappears
Thanks so much, Dorian, for the timely, accurate solution!!
I was using version 89.x of Chrome and v. 90.x of ChromeDriver. Fixed and working now!
Thanks again!!
I was using version 89.x of Chrome and v. 90.x of ChromeDriver. Fixed and working now!
Thanks again!!