Hello! I start to learn Selenium webdriver and faced the following problem: How can I determine the xpath path of the element from the table? I tried to start viewing the source code of the page in chrome, then I selected the item and chose to get xpath. At the same time, Selenium webdriver swears that it cannot find this item. Trying to do with this tablet: http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCellList

    1 answer 1

    WebDriver cannot find the item because the element you are looking for is in the iframe ...

    Unlucky you took an example for learning)

    You can of course try to switch WebDriver to the frame you need and then look for the item

    driver.SwitchTo().Frame(2); // или 1 - не помню с какой цифры начинают они нумероваться driver.FindElement(By.XPath(""));