Open

Description
Summary
BrowserStack recently release new feature IP geolocation is great option to test website by IP spoofing for different regions. (e.g. GDPR testing) but BrowserStack local doesn't work with browserstack.geoLocation
capability.
Expected Behavior
if browserstack.geoLocation capability specified then we expect the network traffic simulation by IP spoofing through local network.
Actual Behavior
All network calls passed without local network as a effect, The http://localhost:XXX is not reachable
Steps to Reproduce the Problem
- Start BS Local with some local identifier
Test1
- Run below java code
capabilities.setCapability("browser", "Chrome");
capabilities.setCapability("browserstack.local", "true");
capabilities.setCapability("browserstack.localIdentifier", "Test1");
WebDriver driver = new RemoteWebDriver(new URL("http://" + username + ":" + accessKey + "@hub-cloud.browserstack.com/wd/hub"), capabilities);
driver.get("https://localhost:8080/");
browserstack local arguments
./BrowserStackLocal --key XXXXXXXXXXXX --force --forcelocal --local-identifier Test1
Platform details
- browserstack-local-java version: 1.0.3 or 1.0.2
- java version: 1.8
- os type and version: Mac
Metadata
Metadata
Assignees
Labels
No labels