I am trying to export my project as a runnable jar and run it without driver.exe files being present. I tried incorporating them with below code to make it independent but still unable to run the jar file without driver files being presenting in the same folder.
code:
String currentDir=System.getProperty("user.dir");
System.setProperty("webdriver.chrome.driver", currentDir+File.separator+"chromedriver.exe");