I have this case for example:
cy.get(‘input[type=file]’).selectFile(‘myFile’, {action: ‘drag-drop’,
force: true})
In some cases i do not need to pass the option action and force.
How can i use the same command but add the options optionally please.
Thank you