org.xpathqs.driver.actions.WaitForSelectorDisappearAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xpathqs-driver Show documentation
Show all versions of xpathqs-driver Show documentation
Framework for the interaction with drivers for the xpathqs-core
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