title: Fetch current birthdays after logging into facebook with pyhhon
body: <p>I have decided to attempt to create a simple web scraper script in python. As a small challenge I decided to create a script which will be able to log me into facebook and fetch the current birthdays displayed in the side. I have managed to write a script which is able to log me into my facebook, however I have no idea how to fetch the birthdays displayed.</p>
  <p>This is my scrypt.</p>
  <pre><code>from selenium import webdriver 
  from time import sleep 
  from webdriver_manager.chrome import ChromeDriverManager 
  from selenium.webdriver.chrome.options import Options 
  
  usr = 'EMAIL'
  pwd = 'PASSWORD'
  
  driver = webdriver.Chrome(ChromeDriverManager().install()) 
  driver.get('https://www.facebook.com/') 
  print (&quot;Opened facebook&quot;) 
  sleep(1) 
  
  username_box = driver.find_element_by_id('email') 
  username_box.send_keys(usr) 
  print (&quot;Email Id entered&quot;) 
  sleep(1) 
  
  password_box = driver.find_element_by_id('pass') 
  password_box.send_keys(pwd) 
  print (&quot;Password entered&quot;) 
  
  login_box = driver.find_element_by_id('u_0_b') 
  login_box.click() 
  
  print (&quot;Login Sucessfull&quot;)
  
  
  
  print (&quot;Fetched needed data&quot;) 
  input('Press anything to quit') 
  driver.quit() 
  print(&quot;Finished&quot;) 
  </code></pre>
  <p>This is my first time creating a script of this type. My assumption is that I am supposed to traverse through the children of the &quot;jsc_c_3d&quot; div element until I get to the displayed birthdays. Furthermore the id of this element changes everytime the page is refreshed. Can anyone tell me how this is done or if this is the right way that I should go on about solving this problem?
  The div for the birthday after expecting elements:</p>
  <pre><code>&lt;div class=&quot;&quot; id=&quot;jsc_c_3d&quot;&gt;
      &lt;div class=&quot;j83agx80 cbu4d94t ew0dbk1b irj2b8pg&quot;&gt;
          &lt;div class=&quot;qzhwtbm6 knvmm38d&quot;&gt;&lt;span class=&quot;oi732d6d ik7dh3pa d2edcug0 qv66sw1b c1et5uql 
          a8c37x1j muag1w35 enqfppq2 jq4qci2q a3bd9o3v knj5qynh oo9gr5id hzawbc8m&quot; dir=&quot;auto&quot;&gt;
              &lt;strong&gt;Bobi Mitrevski&lt;/strong&gt;
              and 
              &lt;strong&gt;Trajce Tusev&lt;/strong&gt; have birthdays today.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
  </code></pre>