Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Regarding Alert Interface
Fri Feb 24, 2017 2:00 pm by karthikeyakumar

» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

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


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