-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Refactor source XML tree generation #208
Conversation
@vmaxim Would you like to take a look? |
d562ba7
to
fca4bbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, as long as it passes the CI tests.
@mykola-mokhnach I have a couple of questions about this PR. It changed the behavior of XPath searches in scope of an element (relative selectors, e.g. Could you please tell which behavior is correct? I would think that |
@aliaksandrbasau Can you please check if #245 works for you? |
@mykola-mokhnach Will try right now. Although it may take time for me to setup the environment for testing. Thank you for so prompt fix and response! |
I did some more testing and it looks like the behaviour that you've described above ( |
@mykola-mokhnach Thanks! The new behavior should be fine as long as everyone knows about it. Although it isn't obvious for people coming from web automation. It would be great if it was documented somewhere. |
Previously there were two separate classes for xpath search and for source tree building. I have merged these two implementations, so now the actual xpath source should be executed on the same source, which is visible to
getPageSource
output