title: Execute an external .js file using selenium webdriver
body: <p>How can we execute an external .js file using selenium webdriver file using java selenium. I got some reference "<a href="https://stackoverflow.com/questions/22856279/call-external-javascript-functions-from-java-code">Call external javascript functions from java code</a>", however invoke function is able to accept the function inside that file. I want to just execute the whole file as a whole.</p>