1

I am using microsoft edge driver for the automation and driver is not responding. This is the error message I am not getting:

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. 
Host info: host: 'YOGESH', ip: '192.168.1.7'
Build info: version: '4.10.0', revision: 'c14d967899'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.7
Driver info: org.openqa.selenium.edge.EdgeDrivertext

Console error image:

console error image

Pino
  • 7,468
  • 6
  • 50
  • 69
  • i tried using chromedriver but there is an issue with new chromedriver so i decided to go with edge driver but its also not working – Yogesh Pawar Jul 27 '23 at 06:12

1 Answers1

2

Just like the way you passed the full path of the ChromeDriver executable along with the extension as:

C:\\Users\\yoges\\Downloads\\chromedriver-win32 (1)\\chromedriver-win32.exe

Similarly, you also have to pass the full path of the EdgeDriver executable along with the extension as follows:

C:\\Users\\yoges\\Downloads\\edgedriver_win64\\edgedriver.exe
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352