I am facing the below issue java.lang.NoSuchMethodError: 'java.lang.String org.apache.commons.io.IOUtils.toString(java.io.InputStream, java.nio.charset.Charset)' on line "WebDriverManager.chromedriver().setup();
I am using the latest WebDriverManager version i.e 5.3.1 and the latest commons.io version i.e 2.11.0
WebDriverManager 5.3.1 depends transitively on commons-io 2.6. You can try to force that version in your pom.