package net.pagejects.core.element.html

import com.codeborne.selenide.SelenideElement

/**
 * Default implementation of the [HtmlLabel]
 *
 * @author Andrey Paslavsky
 * @since 0.1
 */
class HtmlLabelImpl(private val selenideElement: SelenideElement) : HtmlLabel {
    override fun getText(): String = selenideElement.text()

    override fun getSelenideElement(): SelenideElement = selenideElement
}