Closed MancLad89 closed 4 years ago
Hi @MancLad89, could you share the input capabilities you are using in your tests?
Hi @HeenaNanwaniGit please see below. If I add the local identifier to this list the binary does not start.
javascriptEnabled: true
browserstack.debug: true
browserstack.networkLogs: true
build: BS
project: test
browser: chrome
selenium_host: hub-cloud.browserstack.com
selenium_port: 80
browser_version: 83.0
os: OS X
os_version: Mojave
resolution: 1920x1080
name: <test name>
chromeOptions: {"args":["start-fullscreen"]}
acceptSslCert: true
realMobile: true
browserstack.seleniumLogs: true
browserstack.console: errors
browserstack.appiumLogs: true
browserName: chrome
browserstack.tunnel: true
browserstack.local: true
Hey @MancLad89
When starting a test session on Browserstack with local testing, the error "[browserstack.local] is set to true but local testing through BrowserStack is not connected." is received when the local testing binary is not running or when the local identifier is not provided or does not match the identifier used while starting the binary.
From the capabilities, you shared, since the local identifier is not present in the list but the binary is running with the identifier test
, you are receiving the error.
What error do you get when you add the capability "browserstack.localIdentifier" : "test"
?
Can you share the exception stack trace?
Resolved as the localIdentifier
from both the capabilities and the binary have to be the same but were being supplied as different.
When including the
localIdentifier
argument the binary does not startSteps to Reproduce the Problem
Expected Behavior
Binary is started and executed against successfully.
Actual Behavior
Binary is not started.
console log
local.log
browserstack local arguments
key: apiKey, localIdentifier: 'test', forceLocal: 'true', force: 'true', verbose: 'true'
Platform details