I am trying to populate form fields via selenium in python:
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
Here xpath selectors working.
login = driver.find_element_by_xpath('//*[@id=\'loginForm\']/div/div[1]/input')
pwd = driver.find_element_by_xpath('//*[@id=\'loginForm\']/div/div[2]/input')
or same but css selector
login = driver.find_element_by_css_selector('form#loginForm [name="data[User][login]"]')
pwd = driver.find_element_by_css_selector('form#loginForm [name="data[User][password]"]')