Currently I'm testing on this website
Resize responsive not working because it not using bootstrap library
User must using emulation-device on browser to open mobile mode
You suggestion is: galenframework/galen#452
I'm trying to create a grid node with chrome
What I'm trying is below, but it's not working
//register a node with -nodeConfig is ChromeMobile.json
java -jar -Dwebdriver.chrome.driver=.\chromedriver.exe -Dwebdriver.gecko.driver=.\geckodriver.exe selenium-server-standalone-3.6.0.jar -role node -hub http://localhost:4444/grid/register -nodeConfig ChromeMobile.json
//ChromeMobile.json have "mobileEmulationEnabled":true,
{
"capabilities":
[
{
"browserName": "chrome",
"mobileEmulationEnabled":true,
"userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 5555,
"register": true,
"registerCycle": 5000,
"hub": "http://localhost:4444",
"nodeStatusCheckTimeout": 5000,
"nodePolling": 5000,
"role": "node",
"unregisterIfStillDownAfter": 60000,
"downPollingLimit": 2,
"debug": false,
"servlets" : [],
"withoutServlets": [],
"custom": {}
}
}
//my code to registerDevice
$galen.registerDevice("mobile", inSeleniumGrid(gridUrl, "iPhone 6 Plus", ["mobile"], {"browser": "chrome","platform": "VISTA","mobileEmulationEnabled":"true","userAgent":"Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"}));