for first:
$elem = $driver->find_element('//input[1][@class="dx-texteditor-input"]')->send_keys("Live");for second:
$elem = $driver->find_element('//input[2][@class="dx-texteditor-input"]')->send_keys("Live");And with Inspector chrome,i have thoses xpath :
First:
//*[@id="parameters"]/div/div[4]/div[2]/div/input
Second:
//*[@id="program_logs"]/div/div[4]/div[2]/div/input
I Think i have to use 'id' but i don't know how
Thanks !!In reply to Xpath with Selenium by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |