Jul-20-2019, 09:21 AM
(Jan-20-2019, 06:31 PM)GuJu Wrote: Thank you :) I solve that like this. I have imported these libraries.from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import ByThese xpaths are the same xpath and "Not Now" is the button which one i wanted to click.search_box = browser.find_element(By.XPATH, '/html/body/div[2]/div/div/div/div[3]/button[2]') search_box.send_keys("Not Now") browser.find_element(By.XPATH, '/html/body/div[2]/div/div/div/div[3]/button[2]').click()So i solve this problem with this. :) Thank you for your help! :)
thank you...this helped me to solve my issue