Hi All,
I am trying to automate "cef" application. But I have been getting following error. Please help
"Failed to get or update all DOMs. Make sure that the Chrome debugger port is not being used by another program (e.g. Chrome DevTools).
Process: 'offline-desktop-client' (pid 4520)"
CEF Application Support
CEF Application Support
You do not have the required permissions to view the files attached to this post.
Re: CEF Application Support
Hi Ragini,
Most probably the port was not set up correctly like described in the user guide. Another reason could be that the port 8081 is already in use and needs to be changed.
First, please verify if the application can be accessed by Chrome. Furthermore, check if the port 8081 is already in use:
Debug CEF remotely from Chrome
If you are not able to access the CEF application as follows, there is definitely an issue with the remote debugging port.
1. Open Chrome
2. Navigate to http://localhost:8081/
3. Verify if you are able to inspect the content of the CEF application
Check if port 8081 is in use
1. Open the command line
2. Enter the following command:
netstat -aon | findstr 8081
3. If the CEF application is not running, no active connection should be listed.
If the CefSharp application is running, you should see exactly one connection (127.0.0.1:8081).
I hope, this will help.
Most probably the port was not set up correctly like described in the user guide. Another reason could be that the port 8081 is already in use and needs to be changed.
First, please verify if the application can be accessed by Chrome. Furthermore, check if the port 8081 is already in use:
Debug CEF remotely from Chrome
If you are not able to access the CEF application as follows, there is definitely an issue with the remote debugging port.
1. Open Chrome
2. Navigate to http://localhost:8081/
3. Verify if you are able to inspect the content of the CEF application
Check if port 8081 is in use
1. Open the command line
2. Enter the following command:
netstat -aon | findstr 8081
3. If the CEF application is not running, no active connection should be listed.
If the CefSharp application is running, you should see exactly one connection (127.0.0.1:8081).
I hope, this will help.