title: Appium - Pick Two days after a specific day of month
body: <p>I am trying to pick two days after the current day of month. In my StepImplementation class, i wrote a function like this but it gives me an error:</p>
  <pre><code>@Step(&quot;pick two days after current day&quot;)
      public void getCurrentDayOfMonth(String day) throws InterruptedException {
          Calendar cal = Calendar.getInstance();
          int dayOfMonth = cal.get(Calendar.DAY_OF_MONTH);
  
          int dayToPick = dayOfMonth + 2;
          day = String.valueOf(dayToPick);
  
          appiumDriver.findElement(By.xpath(&quot;//*[@text='&quot; + day + &quot;']&quot;)).click();
          System.out.println(&quot;Element is clicked.&quot;);
          Thread.sleep(2000);
      }
  </code></pre>
  <p>For my <code>String day</code> parameter, it shows me this error: Parameter count mismatch(found 1 expected 0) with step annotation : 'pick two days after current day'</p>
  <p>Basically, i am trying to pick a date for a flight from datepicker. I have to pick two days after the current day of month but i got a little bit confused.</p>
  <p>Thanks for your help.</p>