in reply to Re: Xpath with Selenium
in thread Xpath with Selenium

Iam not sure that's a xpath question only. Cause iam using it in Selenium Perl test context. Rightly i used xpath from Chrome Inspector but iam not sure , i think it's different with :
$elem = $driver->find_element('//input[1][@class="dx-texteditor-inpu +t"]')->send_keys("Live");
Previous above works but not second as i told.

Replies are listed 'Best First'.
Re^3: Xpath with Selenium
by Corion (Patriarch) on Apr 28, 2016 at 12:54 UTC

    You are using some XPath queries that are different from what you show that Chrome Inspector shows as the XPath queries.

    This is still an XPath question, but you are using the wrong XPath queries.

    I don't know how to help you further except to repeat that you need to use what Chrome Inspector shows you instead of making up random stuff.

      Of course i tried them. But i don't understand , i just retry them and it works now ! incredible ! I can't explain it i tried them before ! Perhaps server.. Anyway, Thanks Corion for your patience