0

I am using selenium wevdriver to read javascript href, I need to get the version of the browser with chrome driver automaticly. how to fix it?

here I'm putting the version in application.properties which would make headache if chrome updated

ChromeDriverManager.getInstance().version(chromeDriverVersion).setup();
WebDriver driver = new ChromeDriver();              
driver.get(URL);
deadshot
  • 8,881
  • 4
  • 20
  • 39
Ali Ouda
  • 69
  • 1
  • 11

0 Answers0