コード例 #1
0
 /*
  * (non-Javadoc)
  * @see com.github.raphc.maven.plugins.selenese4j.translator.element.Element#process(com.github.raphc.maven.plugins.selenese4j.transform.Command)
  */
 public String process(Command command) throws IllegalArgumentException {
   return "$("
       + LocatorResolver.resolve(command.getTarget())
       + ").waitUntil(visible, 3000).click();";
 }
コード例 #2
0
 /*
  * (non-Javadoc)
  * @see com.github.raphc.maven.plugins.selenese4j.translator.element.Element#process(com.github.raphc.maven.plugins.selenese4j.transform.Command)
  */
 public String process(Command command) throws IllegalArgumentException {
   return "$(" + LocatorResolver.resolve(command.getTarget()) + ").exists()";
 }