Selenium - send keys - which item should i use
I am trying to scroll to the bottom of the page. I was asked, here on SO, to do this:
from selenium.webdriver.common.keys import Keys
element = driver.find_element_by_ ...
element.send_keys(Keys.CONTROL , Keys.END)
I cannot figure out which shoul element I am using. I tried to put an instance of webdriver instead of an element, but it didn't work. Do I need something like the current window item?
Do you have any ideas?
+3
source to share