[Solved] Click on “Show more deals” in webpage with Selenium
To click on the element with text as Show 10 more deals on the page https://www.uswitch.com/broadband/compare/deals_and_offers/ you can use the following solution: Code Block: from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By url = “https://www.uswitch.com/broadband/compare/deals_and_offers/” options = webdriver.ChromeOptions() options.add_argument(“start-maximized”) options.add_argument(‘disable-infobars’) browser = webdriver.Chrome(chrome_options=options, executable_path=r’C:\Utility\BrowserDrivers\chromedriver.exe’) browser.get(url) … Read more