Cleaned up xpath generation
This commit is contained in:
parent
86bb7aaab2
commit
3b0771d2b4
|
@ -56,7 +56,7 @@ class ControlerMixin:
|
|||
queryCount += 1
|
||||
|
||||
|
||||
if len(attribLst) > 0:
|
||||
if len(attribLst) > 1:
|
||||
xpathStr += " and ".join(attribLst)
|
||||
else:
|
||||
xpathStr += attribLst[0]
|
||||
|
|
Loading…
Reference in New Issue