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

Improvements to serialisation #1348

Open
4 tasks
Jym77 opened this issue Feb 16, 2023 · 0 comments
Open
4 tasks

Improvements to serialisation #1348

Jym77 opened this issue Feb 16, 2023 · 0 comments
Labels
Improvement Surface improvement to API, code, QoL, …

Comments

@Jym77
Copy link
Contributor

Jym77 commented Feb 16, 2023

JSON:

  • "short" option for JSON serialisation that turns Element into their path, rather than their sub-tree.

EARL:

  • Make sure that each EARL output is as complete as possible, the graph should be compacted afterwards.
  • Have an Assertor EARL pre-baked, to be used in reports.

New:

  • Add a "JS path" serialisation for DOM tree, that can access any node (including into shadow DOM or content document). This would be a JS eval(…)-able expression to select it, such as document.childNodes[2].shadowRoot. … In contexts where eval cannot be used (e.g. content scripts injected from an extension), these are easy to parse and follow (and we can provide the parser too).
@Jym77 Jym77 added this to 📮 Backlog in ⚙️ Development via automation Feb 16, 2023
@Jym77 Jym77 moved this from 📮 Backlog to 🧭 Refine in ⚙️ Development Aug 30, 2023
@Jym77 Jym77 added the Improvement Surface improvement to API, code, QoL, … label Aug 30, 2023
@Jym77 Jym77 moved this from 🧭 Refine to 📝 Ready in ⚙️ Development Aug 31, 2023
@Jym77 Jym77 moved this from 📝 Ready to 🧭 Refine in ⚙️ Development Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Surface improvement to API, code, QoL, …
Projects
⚙️ Development
  
🧭 Refine
Development

No branches or pull requests

1 participant