@radb0310 Thank you for the answer, can you please elaborate more
i want to download a file also, but i can't find a way to choose a location for it. And also i can't grab the URL of the file from the website.
when i click on the button i have this message :
(File is downloading : BrowserautomationStudio is downloading file. You can wait for it and obtain file name with "Wait File Download" action.)
Reference private npm or local files created outside editor
-
Hello,
I have many files I'll be using across many projects that I'd like to include in BAS. Is there either a way to add private npm packages or reference local files not created in the BAS node.js file editor?
As long as I keep the file names the same can I copy over the js files at C:\Users<USER>\AppData\Roaming\BrowserAutomationStudio\apps\22.1.2\embedded<HASH>\distr\lib?
Thanks,
Jim -
@jimhill21 said in Reference private npm or local files created outside editor:
Hello,
I have many files I'll be using across many projects that I'd like to include in BAS. Is there either a way to add private npm packages or reference local files not created in the BAS node.js file editor?
As long as I keep the file names the same can I copy over the js files at C:\Users<USER>\AppData\Roaming\BrowserAutomationStudio\apps\22.1.2\embedded<HASH>\distr\lib?
Thanks,
JimYou can use standard BAS actions to create\download\copy or move the necessary js files. You can get the current directory of the node js module using the
__dirnamemethod

