title: A button at webpage and i want to pass it by click or anything but nothing works . is there another way?
body: <pre><code>import selenium
  from selenium.webdriver.common.keys import Keys
  from selenium import webdriver
  from selenium.webdriver.common.by import By
  </code></pre>
  <p>the button (&quot;&lt; a class=&quot;entity__btn-next&quot; href=&quot;#/account&quot;&gt;Next<strong>strong text</strong>&quot; )</p>
  <pre><code> try :
               
               driver.find_element(By.XPATH,'/html/body/div/div/div/section[2]/div[1]/div/div/a').click()
        
         except : 
              print('1')
              pass
         
        
         
         sleep(1)
         try :
  
               driver.find_element(By.CSS_SELECTOR,'#container &gt; div &gt; div &gt; section.sign-up__content &gt; div.next-card.next-card-free.next-card-show-divider.content__card &gt; div &gt; div &gt; a').click()
       
         except : 
              print('2')
              pass
         
         sleep(1)
         try :
               driver.find_element(By.PARTIAL_LINK_TEXT,'Next').click()
        
         except : 
              print('3')
              pass
         
         sleep(1)
         try :
               driver.find_element(By.CLASS_NAME,'entity__btn-next').click()
         
         except : 
              print('4')
              pass
      
  
         sleep(1)
         try :
               driver.find_element(By.LINK_TEXT,'Next').click()
         
         except : 
              print('5')
              pass
  
  
  
      
         sleep(1)
         try :
               driver.find_element(By.TAG_NAME,'a').click()
         
         except : 
              print('6')
              pass
      
  </code></pre>