What is the equivalent of __filename variableof nodejs in Phantomjs? I would like to get the name of the currently executing script.
Asked
Active
Viewed 609 times
2
-
Does this help: http://stackoverflow.com/questions/1340872/how-to-get-javascript-caller-function-line-number-how-to-get-javascript-caller ? – hek2mgl Oct 22 '13 at 06:13