I see we can pick a profile by maven command
mvn test -P testenv
How can override a property like - remote-webdriver I want to pass a URL for this. How can I do this with maven command
pom.xml contains below:
<profile>
<id>testenv</id>
<properties>
<test-id>1</test-id>
<test-report>false</test-report>
<testrail-close-testrun>false</testrail-close-testrun>
<test-create>false</test-create>
<environment-var>testenv</environment-var>
<remote-webdriver>null</remote-webdriver>
</properties>
</profile>