I´m scraping Glassdoor reviews and can´t reach the data, that is written to advice to management. I tryed to reach it the same way I reach the data for "pros" and "cons".
    def scrape_pros(gdReview):
        try:
            res = gdReview.find_element(By.XPATH, './/span [@data-test="pros"]').text
        except Exception:
            res = 0
        return res
       
    def scrape_cons(gdReview):
        try:
            res = gdReview.find_element(By.XPATH, './/span [@data-test="cons"]').text
        except Exception:
            res = 0
        return res
But the data can´t be found, because first the "Continue Reading" needs to be opened(by clicking on it), so the class for "Advice to Management" will be found. html code of continue reading
<div class="
                        v2__EIReviewDetailsV2__continueReading 
                        v2__EIReviewDetailsV2__clickable 
                        v2__EIReviewDetailsV2__newUiCta mb 
                    ">Continue reading</div>
I tried to click "continue reading" in many different ways. Here are two examples I tried many combinations of:
gdReview.find_element(By.XPATH, './/div[@class="v2__EIReviewDetailsV2__continueReading v2__EIReviewDetailsV2__clickable v2__EIReviewDetailsV2__newUiCta mb"]').click()
gdReview.find_element(By.XPATH, './/div[@class ="row mt-xsm mx-0"]/preceding-sibling::div[text()="Continue Reading"]').click()
But those didn´t work.
I would really appreciate some help.
 
    