Say i have a list , which consist of selenium commands like
browser = webdriver.Firefox()
lis = ['browser.find_element_by_id("gbqfba").click()' ,'browser.find_element_by_id("signup_btn_topPanel").click()']
tried to send the commands as,
for i in lis:
driver.i
Since i is a string here, python is not accepting it. Any solutions for this??