I want to be able to access a remote machine over SSH using robot framework (4.1.2) and selenium framework that I can analyse the elements that I am showing on a web app. I have been able to do this previous with no issue but my machine has been upgraded to windows 10 and now I’m having trouble. I’m really struggling here am I missing something obvious?
Here is my current implementation but at the moment when this is run, it just shows opens a “data” chrome window which isn’t accessing the remote app.
My current chrome version is 96.0.4664.45 and the chrome driver is up-to-date. However I am aware that the remote machine is using an older version of chrome.
below is my current implementation which was working fine on my windows 7 machine.
sleep 1
Start ssh
${ChromeOptions}= Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys,selenium.webdriver
${ChromeCapabilities}= Call Method ${ChromeOptions} to_capabilities
Set To Dictionary ${ChromeCapabilities[“goog:chromeOptions”]} debuggerAddress 192.168.1.1:9222
Create WebDriver Chrome desired_capabilities=${ChromeCapabilities}
${session_id} = Get Session Id
when its run I see these messages (before it showed nothing):
DevTools listening on ws://127.0.0.1:54831/devtools/browser/cc44a47d-1b05-49a1-90cd-e898502c71af[31836:5356:1206/162732.079:ERROR:chrome_browser_main_extra_parts_metrics.cc(226)] [url]: Checking Bluetooth availability started. Please report if there is no report that this ends.
[31836:21544:1206/162732.081:ERROR:device_event_log_impl.cc(214)] [16:27:32.081] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[31836:5356:1206/162732.082:ERROR:chrome_browser_main_extra_parts_metrics.cc(229)] crbug.com/1216328: Checking Bluetooth availability ended.
[31836:5356:1206/162732.086:ERROR:chrome_browser_main_extra_parts_metrics.cc(232)] [url]: Checking default browser status started. Please report if there is no report that this ends.
[31836:21544:1206/162732.089:ERROR:device_event_log_impl.cc(214)] [16:27:32.089] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[31836:21544:1206/162732.091:ERROR:device_event_log_impl.cc(214)] [16:27:32.091] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[31836:5356:1206/162732.107:ERROR:chrome_browser_main_extra_parts_metrics.cc(236)] [url]: Checking default browser status ended.
I have had to remove some of the crbug urls as I am a new user