Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
syamp
Posts : 8
Join date : 2012-03-09

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

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
avatar
Love Sharma
Regular Participant
Regular Participant
Posts : 27
Join date : 2012-06-01

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

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?
avatar
iAssets
Posts : 2
Join date : 2012-08-22

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

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

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

Back to top
Permissions in this forum:
You cannot reply to topics in this forum