I am trying to scrape this website Century Office Products, Inc and I am unable to scrape this text:
Century Office Products, Inc. industry is listed as Ret Misc Merchandise
as the tag in which it is contained is #text. Following is the code I have tried:
driver.get('https://www.corporationwiki.com/New-Jersey/Middlesex/century-office-products-inc/53844156.aspx')
text = [k.text for k in driver.find_elements_by_xpath("//div[@class='card']//div[@class='card-body']//h2//following::p[2]")]