AttributeError: 'list' object has no attribute 'click ...
www.reddit.com › r › pythonhelpdriver.find_elements_by_xpath('//*[@id="app"]/div[2]/div[1]/div[1]').click AttributeError: 'list' object has no attribute 'click' Process finished with exit code 1 These are the lines I wrote driver.switch_to.frame(iframe[0]) print(iframe) ptn = driver.find_elements_by_xpath('//*[@id="app"]/div[1]/div[2]') print('ptn') driver.find_elements_by_xpath('//*[@id="app"]/div[2]/div[1]/div[1]').click