title: Python_crawling <li style="display: none;">
body: <p>I am trying to scrape below HTML using Selenium on Python, but I cannot scrape the text </p>
  
  <hr>
  
  <pre><code>&lt;div class="tt"&gt;
      &lt;ul style="list-style-type:none" id="abs2"&gt;
          &lt;li&gt;
          Funeral rites have considerably been transformed as family structure has shifted to nuclear family and urbanization has been expedited. People came to consign more and more the rites commitment to funeral service providers and the ritual process itsel...
          &lt;/li&gt;
      &lt;li style="display:none"&gt;
          Funeral rites have considerably been transformed as family structure has shifted to nuclear family and urbanization has been expedited. People came to consign more and more the rites commitment to funeral service providers and the ritual process itself became a lot modernized and commercialized at the same time. As a result, the cost spent for family rites each year has increaseda lot.&lt;br&gt;Today, the number of single family is on the increase. If this trend lasts continuously for so long, the cost for funeral rites will become a heavy burden to the bereaved in near future. 
      &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <hr>
  
  <p>I am not getting success in crawling by clicking next page. Please help me. Here is my code:</p>
  
  <pre><code>a = driver.find_element_by_css_selector('#abs1 &gt; li:nth-child(2)').get_attribute('style')
  
  print(a)
  </code></pre>
  
  <hr>
  
  <p>Output of "print(a)" as below;</p>
  
  <p>display: none;</p>