@ Conditioned @ Quand ( "Je clique via js sur xpath '(.*)' de '(.*)' page[\\.|\\?]" ) @ When ( "I click by js on xpath '(.*)' from '(.*)' page[\\.|\\?]" ) public void clickOnXpathByJs ( String xpath , String page , List < GherkinStepCondition > conditions ) throws TechnicalException , FailureException { logger . debug ( "clickOnByJs with xpath {} on {} page" , xpath , page ) ; clickOnByJs ( Page . getInstance ( page ) , xpath ) ; }
Click on html element using Javascript if all expected parameters equals actual parameters in conditions .