Skip to content

Enable List<CustomWebElement> for PageFactory to be able to assign values directly. #9

@sidnc86

Description

@sidnc86

Well as I mentioned in issue #8, I am trying to take this repository another step further. I would like to get this part enabled. I am already working on it in my fork. I have got far enough to have the following code at least generate a proper new ArrayList<WebButton>(). Even if you change the WebButton class below mentioned as generics, I can understand it and can leverage the CGLib Enhancer to provide me the correct ArrayList.

	@FindBy(className = "my-buttons")
	@CacheLookup
	List<WebButton> buttons;

I would like to discuss this with you once if you can provide me half an hour over call. Please respond and then we can share contact details to take this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions