Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by syamp 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

syamp

Posts : 8
Join date : 2012-03-09

Back to top Go down

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

Post by Love Sharma 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?

Love Sharma
Regular Participant
Regular Participant

Posts : 27
Join date : 2012-06-01

Back to top Go down

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

Post by iAssets 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

iAssets

Posts : 2
Join date : 2012-08-22

Back to top Go down

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

Post by Sponsored content Today at 4:47 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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