Hi John,
Some more issues, I've removed all the flags related to appium from serenity.properties file
Later ran below command
mvn clean verify -Drun.parallel=true -Dwebdriver.remote.url=
http://127.0.0.1:4444/wd/hub -Dwebdriver.remote.driver=appium -Dappium.platformName=Android -Dappium.browserName=Chrome
below error is thrown
[pool-1-thread-1] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{record-screenshots=false, browserName=Chrome, idle-timeout=180, platformName=Android}]
[pool-1-thread-1] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Error forwarding the new session cannot find : Capabilities [{record-screenshots=false, browserName=Chrome, idle-timeout=180, platformName=Android}]
Command duration or timeout: 126 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'Vikrams-MacBook-Pro.fritz.box', ip: '192.168.178.21',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (Error forwarding the new session cannot find : Capabilities [{record-screenshots=false, browserName=Chrome, idle-timeout=180, platformName=Android}]
Command duration or timeout: 126 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'Vikrams-MacBook-Pro.fritz.box', ip: '192.168.178.21',
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.remote.RemoteWebDriver[pool-1-thread-2] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{record-screenshots=false, browserName=Chrome, idle-timeout=180, platformName=Android}]
Not sure why serenity is trying to create FF browser, also I need to run native automation and not on browser, is there a way to skip flag appium.browserName ?
Thanks,
Vikram