Followed the start guide, I can run a javascript snippet by using driver.execute(). How can I run external javascript files, which load some external modules itself.
Possible ways I can come up with:
Concatenate all required files into a single large file and then load it into a string and run it with driver.execute(). Possibly with help of a minifier.
Execute a small snippet to load all required js files.
Maybe modify the html before browser render it?
Any suggestions?