Skip to content
New issue

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

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

Already on GitHub? # to your account

DOM Access #609

Open
theConsite opened this issue Oct 7, 2024 · 7 comments
Open

DOM Access #609

theConsite opened this issue Oct 7, 2024 · 7 comments

Comments

@theConsite
Copy link

Hey everyone,

I'm currently planning to write an end-to-end (E2E) test, but I noticed there are no table elements in the DOM. Is there a way to add specific HTML attributes to the cells?

I appreciate any suggestions or feedback!

Thanks!

@sanchit3008
Copy link
Collaborator

hi, are you looking to add attributes to individual cells?

@theConsite
Copy link
Author

Hi! Yes, that would be great. I want to test editing data directly in the spreadsheet, so adding attributes to individual cells would be very helpful.

@sanchit3008
Copy link
Collaborator

im sorry for the delay, i have no been able to do anything code related this week regarding this repo for the last 10 days. i will try my best to get back to you asap.

@theConsite
Copy link
Author

Sure, no problem, please let me know if You come up with something:)

@Marcel-Kaminski
Copy link

Hey @sanchit3008,
I'm also looking for information on how to add attributes to cell objects in a spreadsheet. Could you provide some guidance on this? Alternatively, would it be possible to add this feature to the library?
Thank you!

@sanchit3008
Copy link
Collaborator

@Marcel-Kaminski if youre looking for these attributes to be attached to the html element then i dont think thats possible at this stage (for eg an id for individual cell) because of how the sheet has been built.

@Marcel-Kaminski
Copy link

okay, How can one access elements in situations where the HTML DOM of a component is not visible, for instance, through XPath? Additionally, how does the library construct the component in such cases?

@YeharaDananjaya
Copy link

maybe this solution will solve your problem click

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

No branches or pull requests

4 participants