Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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


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