regex - Regular expression in Selenium xpath to select different table row -


I have two possible xpaths on which I can find a solution. What is a way that you can add 2 xpath possible with an xpath string with regex?

For example.

For example, it will find all the book or all chapter nodes:

  // book | // Chapter   

Normally do two nodesets with or query_a and query_b:

  query_a | Query_b    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -