I`m trying to use xpath type of parameter in my webdriver script.
However, although this parameter actually selects the same HTML tag:
By START_BUTTON = By.xpath(".//*[@name='MyName']");
as this one
By START_BUTTON = By.name("MyName");
I`m not being able to use the by.xpath in my testing script while the by.name is working fine
Not sure why I`m facing this issue. When tested in Firebug/FirePath the path: .//*[@name='MyName'] - points exactly to the same A tag as By.name("MyName");
Thanks