All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xpathqs.driver.cache.ICache.kt Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
package org.xpathqs.driver.cache

import org.xpathqs.core.selector.base.BaseSelector
import org.xpathqs.core.selector.base.ISelector

interface ICache {
    fun setXml(xml: String, clear: Boolean = true)
    fun isVisible(selector: ISelector): Boolean
    fun isVisible(selectorXpath: String): Boolean
    fun getElementsCount(selectorXpath: String): Int
    fun getAttribute(selectorXpath: String, attr: String, default: String = ""): String?
    fun getAttributes(selectorXpath: String, attr: String): List
    fun clear(clearXml: Boolean = true)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy