I'm having real trouble to switch control from desktop application using let to a chrome web browser using selenium.
Here is what I have done:
I'm having an issue connecting to chrome debug port .
Added chrome.exe to my environment variable path
Configured the chrome debug port thru command line and specified port: 22020
Added
options.SetExperimentalOption("debuggerAddress", "localhost:22020")
But chrome keeps starting from a random port numbers , and I'm getting the following error:
cannot connect to chrome at localhost:22020
Please help