Share
View previous topicGo downView next topic
syamp
Posts : 8
Join date : 2012-03-09

How to scroll up the invisible webpage to find out the elements using selenium webdriver?

on Mon Jun 04, 2012 6:35 pm
Hi all,

I am facing the problem to find the elements which are in visible page part using selenium webdriver. Please could any body send me the code for that.

I am using Firefox browser here I could able to click on the visible elements (testboxes, listboxes...) but could not able to click on the in visible elements here my problem is how to scroll down the page to find out those elements.

Thanks,
Syam..


Last edited by syamp on Mon Jun 04, 2012 8:42 pm; edited 1 time in total
Love Sharma
Regular Participant
Regular Participant
Posts : 27
Join date : 2012-06-01

Re: How to scroll up the invisible webpage to find out the elements using selenium webdriver?

on Mon Jun 04, 2012 7:00 pm
Pls provide more details like:
1. You mean to say that the webpage is not visible and you want to click an element there?
2. Which browser r u using?
3. Do you want to scroll up/down on the desired webpage?
iAssets
Posts : 2
Join date : 2012-08-22

Re: How to scroll up the invisible webpage to find out the elements using selenium webdriver?

on Thu Aug 23, 2012 10:52 pm
If there's a scroll bar (for a long list of countries) in a webpage, how to scroll down?

I know it is supposed to work, but the following is not working: Sad
Code:
((JavascriptExecutor)driver).executeScript("window.scrollBy(x,y)");   
// insert value for x and y
Sponsored content

Re: How to scroll up the invisible webpage to find out the elements using selenium webdriver?

View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum