WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Get "Error adding url to url group" error when running WinAppDriver.exe

Open StephanieHan opened this issue 3 years ago • 8 comments

Hi, I got this error when running WinAppDriver.exe and same error when running WinAppDriver.exe 127.0.0.1 4723

C:\Program Files (x86)\Windows Application Driver>WinAppDriver.exe
Windows Application Driver listening for requests at: http://127.0.0.1:4723/

Error adding url to url group

Failed to initialize: 0x80004005

How can I resolve the issue?

StephanieHan avatar Aug 27 '21 00:08 StephanieHan

Does this help? https://github.com/microsoft/WinAppDriver/issues/1183

liljohnak avatar Aug 27 '21 01:08 liljohnak

nope, I'm not running remotely.

StephanieHan avatar Aug 27 '21 02:08 StephanieHan

Is the developer mode ON?

anunay1 avatar Aug 27 '21 06:08 anunay1

hey, yes it's on image

StephanieHan avatar Aug 27 '21 18:08 StephanieHan

Try running it again

anunay1 avatar Aug 27 '21 18:08 anunay1

Hey, I restarted my machine, and try running it again, but still the same error: image

This same error happened to my two machines, and the developer mode is turned on on both machines. Any other logs you'll need that could be helpful?

StephanieHan avatar Aug 27 '21 18:08 StephanieHan

run this command resolved my issue: netsh http add iplisten 127.0.0.1

StephanieHan avatar Aug 27 '21 19:08 StephanieHan

After trying everything listed above without success, I tried initializing the driver locally using "winappdriver.exe ?" this seemed to select a port that it can use and start listening as seen below. Screenshot 2023-06-20 103636

McDCT avatar Jun 20 '23 16:06 McDCT