Hoşgeldin Misafir

Selenium 4 webdriver scroll element çalışmıyor

gtech

26 Ara 2017
604 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Web otomasyonu yapıyorum her şey gayet güzel gidiyor. Fakat bir siteye girdiği zaman scroll down scroll up yaptırmaya çalışıyorum. Tüm kodları denedim yine de çalışmıyor. Error Log da vermiyor. Yardımcı olursanız çok sevinirim.

Python:panoya kopyala

Kod:
try:
# Navigate to the xxxx site.
driver.get(“https://www.xxxx.com”)

# Click on an empty area on the site.
driver.find_element(By.XPATH, "//div[@class='container']").click()

# Scroll down to the bottom of the page.
for i in range(10): # adjust the range to...

Read more