.common.exceptions.: Message: invalid selector

Unable to locate an element with the xpath expression .//*[@id="Toolbar"]/table/tbody/tr/td[2]/a[1]/span)[3] because of the following error.

SyntaxError:

Failed to execute 'evaluate' on 'Document': The string 
'(.//*[@id="Toolbar"]/table/tbody/tr/td[2]/a[1]/span)[3])' 
is not a valid XPath expression.



Source link https://sqa.stackexchange.com/questions/35118/how-to--invalidselectorexception-in-selenium

LEAVE A REPLY

Please enter your comment!
Please enter your name here