You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local config is not going through my local network #34
I followed exactly the same code and tried to run parallel_local/local to have my Nightwatch test running in BrowserStack, it is running but network is NOT going through my local, so my night watch test is failing.
My understanding is giving config : 'browserstack.local': "true" + using the "local.running.js" (given my right key)...should run the test through my local network. But it is not happening.
Is any one gone through this issue? am i missing anything?
The Local testing binary fetches resources that are not publicly accessible through your network. In the case of public resources, it is fetched directly from the repeaters (https://www.browserstack.com/local-testing-internals).
You can, however, override this behavior using the force local flag in the binary.
Activity
shawnlobo96 commentedon Jul 13, 2020
Hey @winarun
The Local testing binary fetches resources that are not publicly accessible through your network. In the case of public resources, it is fetched directly from the repeaters (https://www.browserstack.com/local-testing-internals).
You can, however, override this behavior using the force local flag in the binary.
Within local runner:
nightwatch-browserstack/scripts/local.runner.js
Line 13 in a60b774
you can add the argument
'forceLocal': 'true'.Refer: https://github.com/browserstack/browserstack-local-nodejs#force-local
This should force all traffic through your network.
In case you have any error while starting your test, can you share the exception stack trace?