I have the latest stable Python, wxPython, Robot Framework, RIDE v2.1 installed. RIDE is happily working with Chrome on my computer. However, I am not able to launch any URL with the Edge browser. I have the matching Edge browser driver installed properly. Below are the error messages I’ve got. Any help is appreciated!
Cmd console log
DevTools remote debugging is disallowed by the system admin
Looks like your professional computer have restricted access as a user due to the system policy applied by the company on employee’s computers.
1- Try to find out how to enable the " remote debugging feature " in windows or maybe EDGE browser ( I think that’s impossible because it requires admin privileges )
2- Contact your system administration (IT support) colleague to get some help to solve this access/ policy issue
Thanks for your suggestion. I was thinking about the same “remote debugging feature” option in Edge browser. Any chance RIDE offers an option to bypass this remote debugging? I imagine many professional places may have this kind of policy enforced.
What Edge version are you running and the driver? I’ve seen posts related to Chrome versions, so could it be worth double checking you have the right driver version for Edge?
This may help as well:
Go to edge://flags in Microsoft Edge
In Search flags, type Enable remote debugging through Windows Device Portal
Set the flag to Enabled
Click Restart to restart Microsoft Edge
Theres a cmd line argument as well: msedge.exe --remote-debugging-port=9222
Also fell on a post about running headless; are you running headless and have you tried when not in headless if so to see if the same error is returned?
edge://flags has been blocked on my computer by the system administrator. This is why I’d like to know if there is an option in RIDE that can bypass remote debugging to at least get Edge going.
I am very interested in knowing how to run headless Edge in RIDE. For Chrome, the argument is “headless chrome”, but for headless edge it looks like not supported in RIDE.
Testing needs to be done on both Edge and Chrome. For Chrome, I just don’t get this error “DevTools remote debugging is disallowed by the system admin” when I try to launch a URL, not that I have a magic solution.
Since 2020 Edge has been based on Chromium, the same browser that Chrome is based on, they use the same rendering engine.
The best options I see that you have are:
Ask for a change to the requirements based on this, that only 1 browser needs to be tested for each rendering engine that needs to be supported, this will greatly simplify your testing as there are only a few rendering engines ( the 3 most common are chromium, gecko and webkit)
If you can’t get the requirement changed, then you log a call with your IT help desk to have the remote debugging flag enabled for all your test machines and all test user accounts, you can point to the business requirement as your justification. Make it the security team’s problem not yours, they can argue with the business about whether or not the requirement is valid. In the mean time your test reports can just refer to the help desk ticket number for the edge testing.
Haha Dave, great minds think alike. I’ve already opened a ticket with my IT service, but I have a feeling it is going to be like pulling teeth. To be fair, I know Selenium IDE somehow doesn’t have issue on Edge browser, and my colleague can make Robot + VS Code work on Edge without this issue.