selenium webdriver - Can we perform scrolling using page object? -


can able perform scrolling using page object??

actually need scroll web page (up / down) based on element. how can perform using page object.

i'm using selenium web drive launch browser , using page object automate web page.

any suggestions???

i suggest using

element.focus 

here element mapped, using it's element call focus:

text_field(:request_name, :id => 'request_name') self.request_name_element.focus self.request = "aaa" 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -