Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

move_to_element not automatically scrolling to element #6105

Open
lukeis opened this issue Mar 4, 2016 · 7 comments
Open

move_to_element not automatically scrolling to element #6105

lukeis opened this issue Mar 4, 2016 · 7 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 6105

Selenium version: 2.34 and 2.35
OS: OS X 10.8.4
Browser: Firefox
Browser version: 20, 21, 22, 23

When calling ActionChains.move_to_element, in versions of Selenium prior to 2.34, the
element in question would be scrolled to if it was not currently visible. Starting
with Se 2.34 this is no longer happening.

I have attached a reduced test case which reproduces the issue. When running the attached
script on Se 2.33 or earlier, the element is scrolled into view and the console should
read:

Is the text bubble visible? True

However, on Se 2.34 and 2.35 it will not be scrolled into view and the console will
read:

Is the text bubble visible? False

I tested this on several version of Firefox for Mac.

Reported by bob.silverberg on 2013-08-14 18:36:32


- _Attachment: [ScrollProb.zip](https://storage.googleapis.com/google-code-attachments/selenium/issue-6105/comment-0/ScrollProb.zip)_
@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by barancev on 2013-08-16 13:46:08

  • Labels added: Browser-Firefox

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Do you have mouse cursor inside the browser window?

'mouseover' operation in Firefox is sensitive to mouse position, it should be inside

the browser window for hovering to be persistent (it is registered in another issue)

Reported by barancev on 2013-08-20 20:06:00

  • Status changed: NeedsClarification

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Thanks for looking into this.

I have run the test with the mouse cursor both inside and outside the browser window
and it makes no difference. The issue is not that the hovering is not persistent, the
issue is that move_to_element is not scrolling the element into view.

As stated above, in Se 2.33 and earlier, move_to_element would scroll the element into
view, which in Se 2.34+ the element is no longer being scrolled into view, so it is
being reported as not visible.

Reported by bob.silverberg on 2013-08-26 14:11:41

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi, even am facing the mouse hover issue with Selenium 2.34 and 2.35, move_to_element
not automatically scrolling to target element. 

As mentioned by Bob, mouse over issue exists on Windows env as well.

Selenium version: 2.34 and 2.35
OS: windows 7
Browser: Firefox
Browser version: 23


Reported by madhusudhan.jr on 2013-09-24 06:09:52

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hello!

I also tested on Win 7 and Ubuntu. The element is not scrolled into view.

Selenium version: 2.35
OS: windows 7, Ubuntu 
Browser: Firefox
Browser version: 23

Reported by gyorgy.hrabovszki on 2013-10-14 13:59:59

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hello,

the bug is still present. Is there something new?

You write in the second comment that another issue exists. What is the ticket number?

Thanks.

Reported by FSommerfeldt on 2013-11-19 14:13:18

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 17:45:55

  • Labels added: Restrict-AddIssueComment-Commit

@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant