You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an ideological question rather than any bug. I like the problem you are trying to solve, but am a little sceptical about it and hence this question.
How big do you feel is the scope of the translation from native python to xpath? For eg., its ok if you have a equality check as they are available in xpath. But what if I use a function for the check condition or. even simply suppose sqrt or other non-basic mathematical operations. Or maybe, I look for a value in a dictionary corresponding to the id of all the spans in the document to match something (something like a.id for a in span if (a.something == dict[a]))?
Basically, anything with a dynamic condition on the RHS. How do you plan to handle them?
The text was updated successfully, but these errors were encountered:
This is an ideological question rather than any bug. I like the problem you are trying to solve, but am a little sceptical about it and hence this question.
How big do you feel is the scope of the translation from native python to xpath? For eg., its ok if you have a equality check as they are available in xpath. But what if I use a function for the check condition or. even simply suppose sqrt or other non-basic mathematical operations. Or maybe, I look for a value in a dictionary corresponding to the id of all the spans in the document to match something (something like a.id for a in span if (a.something == dict[a]))?
Basically, anything with a dynamic condition on the RHS. How do you plan to handle them?
The text was updated successfully, but these errors were encountered: