Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am trying to reach out to you #8

Open
sidnc86 opened this issue Apr 3, 2020 · 3 comments
Open

I am trying to reach out to you #8

sidnc86 opened this issue Apr 3, 2020 · 3 comments

Comments

@sidnc86
Copy link

sidnc86 commented Apr 3, 2020

Hi buddy!

I was trying to get your contact information. Doesn't seem you have posted on your proile. I also tried to look at your commit messages in case I can get your email. But I don't find any clue there either. I would like to have some communication as I've already forked your repository and started modifying things. If I could discuss with you the things and then proceed, may be I'll be able to take this repository another step further. This issue is simply there to be able to get in touch with you. Please respond. Awaiting eagerly.

@sidnc86
Copy link
Author

sidnc86 commented Apr 3, 2020

Also if you can let me know which timezone you operate from, I can adjust my time accordingly to sync up incase we were to get in touch over call or something.

@edeori
Copy link

edeori commented Dec 29, 2021

Hello!
I faced the same issue. I found that the CustomElementFieldDecorator class overrides the default decorate method, so if it can find a custom element class for the object, starts to enhance the object with the method below or else run the defaultFieldDecorator. If the decorate find a list of custom objects the base class type is a list so the if/else gonna do the default decorate whitch is not correct. So as I see we shall add a new else if for the decorate for the list case and create a getCustomElementListEnhancedObject, but my problem is that I can not figure out how to adapt the Enhancer for list of custom objects.

@sidnc86
Copy link
Author

sidnc86 commented Jan 15, 2022

Hey there! Please refer the fork at https://github.com/tekvision/java_selenium_custom_elements. I've got this working out there. This was long ago so I don't remember the code as is. But I had to create a new constructor on CustomWebElement class. I simply grabbed List<WebElement> and then used this new constructor to create List<CustomWebElement>. Additionally, a list is bound to be selected with selectors that match multiple elements. The new constructor hence grabs indexes of each of these elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants