You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently having an issue when using open when simply opening a URL on Windows. I use the following code:
const open = require('open');
const result = await open('https://google.be/');
This will run the code, but the browser will not open. I have noticed that, when the code takes longer to execute, by for example adding a for loop that takes +- 5 seconds to run, that the browser will in fact open and it will work.
I have also noticed, that by adding { wait: true }, it will also start working, but that is not an option because when testing it on my macbook it will explicitly wait until the entire Chrome process has closed.
Is there any chance that you could have a look at this?
Thanks!
Mathijs
The text was updated successfully, but these errors were encountered:
MathijsVerbeeck
changed the title
Issue: Windows not opening browser or any client application without wait: true
Issue: Windows not opening browser or any client application without wait: true or setting a long timeout
Feb 20, 2023
Hi
I am currently having an issue when using
open
when simply opening a URL on Windows. I use the following code:This will run the code, but the browser will not open. I have noticed that, when the code takes longer to execute, by for example adding a for loop that takes +- 5 seconds to run, that the browser will in fact open and it will work.
I have also noticed, that by adding
{ wait: true }
, it will also start working, but that is not an option because when testing it on my macbook it will explicitly wait until the entire Chrome process has closed.Is there any chance that you could have a look at this?
Thanks!
Mathijs
The text was updated successfully, but these errors were encountered: