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
The problem is that Synpress itself uses hook on('before:browser:launch', thus overriding whatever I write in setupNodeEvents. And synpressPlugins() function does not expose params for passing in additional args or something like that. And if I do synpressPlugins first and my on('before:browser:launch' second, then my stuff overwrites Synpress.
Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It very much may be that I am missing some obvious way, but I cannot wrap my head around how to pass my own browser launch arguments.
What I initially tried in synpress.config.ts:
The problem is that Synpress itself uses hook
on('before:browser:launch'
, thus overriding whatever I write insetupNodeEvents
. AndsynpressPlugins()
function does not expose params for passing in additional args or something like that. And if I do synpressPlugins first and my on('before:browser:launch' second, then my stuff overwrites Synpress.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions