I used Webdriver sampler and write selenium -Javascript.
Now I used org.apache.commons.io.FileUtils.writeStringToFile(new java.io.File('somefile.log'), 'some-data', 'UTF-8', true)
function to write a file .
I want to save a tabular data (column & row-wise) in that file using writeStringToFile()
function.
How we can achieve this?