I am a beginner on Selenium and I am trying first to load the page then click on the button 'Explore Standards Map' that will take me to another page, but the website pops up and quits and the button does not click. Also there are two buttons with the same name & class Name.
chromeOptions = Options()
chromeOptions.headless = False
driver = webdriver.Chrome(ChromeDriverManager().install(), options=chromeOptions)
def init_browser():
driver.get("https://www.standardsmap.org/en/home")
print('starting_Driver')
click_butt = driver.find_element(By.XPATH, "//button[contains(text(),' Explore Standards Map ')]")
click_butt.click()
init_browser()
