|
26 | 26 | import com.applitools.imagetester.lib.Utils; |
27 | 27 |
|
28 | 28 | public class ImageTester { |
29 | | - private static final String cur_ver = "3.5.7"; |
| 29 | + private static final String cur_ver = "3.6.0"; |
30 | 30 |
|
31 | 31 | public static void main(String[] args) { |
32 | 32 |
|
@@ -119,6 +119,7 @@ public static void main(String[] args) { |
119 | 119 | config.setAccessibilityGraphicsRegions(cmd.getOptionValue("arg", null)); |
120 | 120 | config.setCaptureRegion(cmd.getOptionValue("rc", null)); |
121 | 121 | config.setMatchTimeout(cmd.getOptionValue("mt", null)); |
| 122 | + config.setProperties(cmd.getOptionValue("pr", null)); |
122 | 123 |
|
123 | 124 | // Full page for ac regions capability |
124 | 125 | if (cmd.hasOption("arr") && config.accessibilityRegularTextRegions == null) { |
@@ -242,6 +243,7 @@ private static void runTestWithBatchMapper(final Logger logger, final CommandLin |
242 | 243 | currentConfiguration.shouldThrowException = cmd.hasOption("te"); |
243 | 244 | currentConfiguration.setCaptureRegion(cmd.getOptionValue("rc", null)); |
244 | 245 | currentConfiguration.setMatchTimeout(cmd.getOptionValue("mt", null)); |
| 246 | + currentConfiguration.setProperties(cmd.getOptionValue("pr", null)); |
245 | 247 |
|
246 | 248 | // Full page for ac regions capability |
247 | 249 | if (cmd.hasOption("arr") && currentConfiguration.accessibilityRegularTextRegions == null) { |
@@ -578,6 +580,11 @@ private static Options getOptions() { |
578 | 580 | .hasArg() |
579 | 581 | .argName("deviceNameArg") |
580 | 582 | .build()); |
| 583 | + options.addOption(Option.builder("pr") |
| 584 | + .longOpt("properties") |
| 585 | + .desc("Eyes Properties") |
| 586 | + .hasArgs() |
| 587 | + .build()); |
581 | 588 |
|
582 | 589 |
|
583 | 590 | EyesUtilitiesConfig.injectOptions(options); |
|
0 commit comments