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

org.xpathqs.driver.actions.WaitForSelectorDisappearAction.kt Maven / Gradle / Ivy

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

import org.xpathqs.core.selector.base.BaseSelector
import org.xpathqs.driver.const.Global
import java.time.Duration

open class WaitForSelectorDisappearAction(
    selector: BaseSelector,
    timeout: Duration = Global.WAIT_FOR_ELEMENT_TIMEOUT
) : WaitForSelectorAction(selector, timeout) {
    constructor(selector: BaseSelector, ms: Long) : this(selector, Duration.ofMillis(ms))

    override val name: String
        get() = "Wait For Selector Disappear"

    override fun toString(): String {
        return "Wait For $timeout, of: ${selector.name} to Disappear"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy