Join GitHub today
Selenide tries to decorate SelenideElement without @FindBy annotation even if it is already initialized in ElementsContainer #617
Selenide tries to decorate SelenideElement without @findby annotation even if it is already initialized in ElementsContainer
I have SelenideElement without @findby which is already initialized with $(...) method. It is situated inside ElementsContainer which is declared in some page object -> then try to instantiate PO using page(Page.class) or open(url, Page.class) -> Selenide tries to decorate my SelenideElement despite it is already instantiated.
Similar issue was already fixed for decorating such fields which are declared directly in PO (#443)
But it wasn't changed for ElementsContainer's elements initializing in method
Tell us about your environment
Code To Reproduce Issue