https://remp3indir.net/how-to-capture-javascript-errors-using-selenium-java/
how to capture javascript errors using selenium java