Adds support of
deviceName
orappium:deviceName
while still supports defaultbrowserName
.
Still works like default capability matcher, but also adds suport of deviceName
.
Don't pass device name into browser
property, it is required to pass either browser
or deviceName
.
Specify custom capability matcher in hub config json (see example).
{
"capabilityMatcher": "com.wdio.qa.grid.matcher.CapabilityMatcher",
"registry": "org.openqa.grid.internal.DefaultGridRegistry"
}
Run grid server
seleniumServerJar=selenium-server-standalone-3.141.59.jar
capabilityMatcherJar=grid-capability-matcher-3.141.59.jar
javaClasses="$seleniumServerJar:$capabilityMatcherJar"
java -cp $javaClasses org.openqa.grid.selenium.GridLauncherV3 -role hub -hubConfig hubconfig.json
- Build
mvn -q install -DskipTests
- Download grid server
./download-server.sh
(in run folder) - Run grid server
./gridStart.sh
(in run folder)