Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Annotation Types
  • Methods
  • Constructors
  • Annotation Type Elements
  • Deprecated Interfaces
    Interface
    Description
    net.thucydides.core.pages.WebElementFacade
    Use same-named class in serenitybdd package
    net.thucydides.core.pages.WebElementState
    Use same-named class in serenitybdd package
    net.thucydides.core.screenshots.ScreenshotProcessor
  • Deprecated Classes
    Class
    Description
    net.thucydides.core.annotations.findby.By
    Use By instead
    net.thucydides.core.pages.WebElementFacadeImpl
    Use same-named class in serenitybdd package
    net.thucydides.core.Thucydides
    Use Serenity class instead A utility class that provides services to initialize web testing and reporting-related fields in arbitrary objects.
    net.thucydides.core.ThucydidesListeners
    Use SerenityListeners instead
    net.thucydides.core.ThucydidesReports
    Use SerenityListeners instead
  • Deprecated Annotation Types
    Annotation Type
    Description
    net.thucydides.core.annotations.findby.FindBy
    Replaced by FindBy
  • Deprecated Methods
    Method
    Description
    net.serenitybdd.core.annotations.locators.SmartAnnotations.buildByFromFindBy(FindBy)
    use serenitybdd variation
    net.serenitybdd.core.annotations.locators.SmartAnnotations.buildByFromLongFindBy(FindBy)
    use serenitybdd variation
    net.serenitybdd.core.annotations.locators.SmartAnnotations.buildByFromShortFindBy(FindBy)
    use serenitybdd variation
    net.serenitybdd.core.pages.PageObject.containsTextInElement(WebElement, String)
    use element(webElement).containsText(textValue)
    net.serenitybdd.core.pages.PageObject.getWaitForElementTimeout()
    net.serenitybdd.core.pages.PageObject.hasFocus(WebElement)
    Use element(webElement).hasFocus() instead
    net.serenitybdd.core.pages.PageObject.shouldContainTextInElement(WebElement, String)
    net.serenitybdd.core.pages.PageObject.shouldNotContainTextInElement(WebElement, String)
    net.serenitybdd.core.pages.PageObject.switchToPage(Class<T>)
    net.serenitybdd.core.pages.PageObject.withTimeoutOf(int, TimeUnit)
    TimeUnit has been replaced by TemporalUnit in Selenium. For more consistancy use a TemporalUnit parameter.
    net.serenitybdd.core.pages.WebElementFacade.withTimeoutOf(int, TimeUnit)
    net.serenitybdd.core.pages.WebElementFacadeImpl.deselectAll()
    net.serenitybdd.core.pages.WebElementFacadeImpl.deselectByIndex(int)
    net.serenitybdd.core.pages.WebElementFacadeImpl.deselectByValue(String)
    net.serenitybdd.core.pages.WebElementFacadeImpl.deselectByVisibleText(String)
    net.serenitybdd.core.pages.WebElementFacadeImpl.selectByIndex(int)
    net.serenitybdd.core.pages.WebElementFacadeImpl.selectByValue(String)
    net.serenitybdd.core.pages.WebElementFacadeImpl.selectByVisibleText(String)
    net.thucydides.core.annotations.locators.SmartAjaxElementLocator.setTimeOutInSeconds(int)
    net.thucydides.core.annotations.Steps.uniqueInstance()
  • Deprecated Constructors
    Constructor
    Description
    net.thucydides.core.pages.WebElementFacadeImpl(WebDriver, WebElement, long)
    As of release 0.9.127, replaced by static WebElementFacadeImpl.wrapWebElement(WebDriver driver, WebElement webElement, long timeoutInMilliseconds)
    net.thucydides.core.steps.PageObjectDependencyInjector(Pages)
     
  • Deprecated Annotation Type Elements
    Annotation Type Element
    Description
    net.thucydides.core.annotations.Steps.uniqueInstance()

Copyright © 2021. All rights reserved.