I have to scrape data from a page which described bottom, my goal is to get phone number which described in the blue square on the left bottom , but the phone number is not quite visible, it will be shown fully only after clicking at.
I tested by Selenium, but no result, it returns NoSuchElementException error
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
import time
s = Service('home/Downloads/chromedriver')
driver = webdriver.Chrome(service=s)
driver.get("https://bina.az/items/3141057")
time.sleep(5)
button = driver.find_element(By.CLASS_NAME,"show-phones js-show-phones active")
