Instead of clicking on download button you have to take download link.
You can do that with "get element atribute", and as atribute use href.
Than use that link in "Download" action. There you have to define
full download file path along with downloaded file name and extension.
So you can define your desirable folder.
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

