Forum Discussion

Ravikaanth's avatar
Ravikaanth
Contributor
12 months ago

Issue in connecting with Bitbar mobile devices

Hi team,

 

I am experiencing issues while trying to connect with Bitbar mobile devices. Please review the code snippet below, which is intended for connecting with Bitbar mobile devices. However, when executing the code, it connects to the desktop browser instead. Please refer to the screenshot provided below for more clarity. I have been encountering this issue since the latest update on Bitbar and TestComplete. FYI

 

 

var capabilities = {
"bitbar_device": "Samsung Galaxy S22 Ultra SM-S908U1 -US",
"deviceName": "Samsung Galaxy S22 Ultra SM-S908U1 -US",
"platformName": "Android",
"bitbar_findDevice": "true",
"automationName": "UiAutomator2",
"browserName": "Chrome"
};
var server = "https://us-west-mobile-hub.bitbar.com/wd/hub";
Browsers.RemoteItem(server, capabilities).Run(url);

 

 

 

 

No RepliesBe the first to reply