Python Selenium Webdriver problem

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
28 Şub 2019
Mesajlar
62
Tepki puanı
6
Yaş
27
7 HİZMET YILI
Guys, i need help. I want to scrap the instagram data user's using selenium webdriver modul on python. But, when i run my code :

Python:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrop = Options()
chrop.add_argument('--incognito')
chrop.add_argument('--headless')

url = 'https://www.instagram.com/chelseaislan'
driver = webdriver.Chrome(options=chrop)
driver.get(url)

results = driver.find_element_by_xpath('//*[@id="react-root"]/section/main/div/div[3]')
print(results)

# import pdb; pdb.set_trace()

The output just like this :
<selenium.webdriver.remote.webelement.WebElement (session="cffacb17e5c8acd79o267e6725308b5f", element="310718e1-6c93-4cfa-8d59-28951d5ff308")>

i dont know, iam stuck. I was watching other tutorial and any code which i just copy-paste to my code. But, the output very different. So guys, please help me :thinkie:
 
✨✨✨✨✨✨
Seçkin Üye
Katılım
21 Şub 2018
Mesajlar
305
Çözümler
1
Tepki puanı
38
Ödüller
6
Yaş
35
8 HİZMET YILI
I think you should check their version
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst