Replies: 1 comment 1 reply
-
|
Try: exec(`open 'https://www.foo.com/?abc=123&bar=foo'`)The I'll update global.browse = async (path: string) => {
return global.exec(`open ${path}`)
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I have a script use case where I want to open a custom URL that includes the query params. If I use he
browse()function, the browser ignores anything after the&.focusTab()is the only function that considers the query params after&but that doesn't suit my use case as I have to open multiple tabs in an iteration and it seems to only open the tab for the last iteration.I have tried using
encodeURI()as well to create a URL forbrowse()andrun()functions but that does work either.Example:
If the URL is
www.foo.com/?abc=123&bar=fooThen the browse function or run function would open
www.foo.com/?abc=123and ignores the rest.Beta Was this translation helpful? Give feedback.
All reactions