I'm trying to scrape data from "https://free-proxy-list.net/" to simply extract data by clicking on "Get raw list" which opens up a model box inside a website and from that, you can easily copy that or extract that data. So I tried to extract that text using normally
driver.find_element_by_xpath().text
but it showed me an error
ElementNotVisibleException: Message: element not interactable
I followed this answer https://stackoverflow.com/a/54618973/8197487 to overcome this problem
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,'//*[@id="list"]/div/div[1]/ul/li[6]/a'))).click()
p=WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.XPATH,'//*[@id="raw"]/div/div/div[2]/textarea'))).text
After using the above code no error raises but I get no text.
is there any other way or I'm doing something wrong.