public abstract class QueryHandler extends Object
| 构造器和说明 |
|---|
QueryHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getQuerySelector(QueryHandler handler) |
static String |
getQuerySelectorAll(QueryHandler handler) |
List<ElementHandle> |
queryAll(ElementHandle element,
String selector) |
ElementHandle |
queryOne(ElementHandle element,
String selector) |
abstract String |
querySelector() |
abstract String |
querySelectorAll() |
ElementHandle |
waitFor(ElementHandle handle,
String selector,
WaitForSelectorOptions options) |
ElementHandle |
waitFor(Frame frame,
String selector,
WaitForSelectorOptions options) |
public ElementHandle queryOne(ElementHandle element, String selector) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic List<ElementHandle> queryAll(ElementHandle element, String selector) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic abstract String querySelector()
public abstract String querySelectorAll()
public ElementHandle waitFor(ElementHandle handle, String selector, WaitForSelectorOptions options) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic ElementHandle waitFor(Frame frame, String selector, WaitForSelectorOptions options)
public static String getQuerySelector(QueryHandler handler)
public static String getQuerySelectorAll(QueryHandler handler)
Copyright © 2020–2025. All rights reserved.