com.seleniumtests.reporter.info.VideoLinkInfo Maven / Gradle / Ivy
package com.seleniumtests.reporter.info;
import com.seleniumtests.browserfactory.ICapabilitiesFactory;
import com.seleniumtests.util.logging.SeleniumRobotLogger;
import org.apache.log4j.Logger;
public class VideoLinkInfo extends HyperlinkInfo {
public VideoLinkInfo(String link) {
super("Video", link);
}
@Override
public String encode(String format) {
if (format == null) {
logger.error("format cannot be null");
return description;
} else if ("html".equals(format)) {
return String.format("", link);
} else {
return super.encode(format);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy