Search in sources :

Example 1 with PageNavigateOptions

use of com.ruiyun.jvppeteer.options.PageNavigateOptions in project epic4j by huisunan.

the class MainStart method goToEpic.

/**
 * 跳转到epic
 */
@Override
@SneakyThrows
@Retry(message = "跳转epic", value = 5)
public void goToEpic(Page page) {
    PageNavigateOptions options = new PageNavigateOptions();
    options.setTimeout(ThreadContext.getTimeout());
    page.goTo(UrlConstants.epicUrl, options, true);
}
Also used : PageNavigateOptions(com.ruiyun.jvppeteer.options.PageNavigateOptions) SneakyThrows(lombok.SneakyThrows)

Aggregations

PageNavigateOptions (com.ruiyun.jvppeteer.options.PageNavigateOptions)1 SneakyThrows (lombok.SneakyThrows)1