Skip to content

Using native Selenium2 command for mouseOver - #110

Closed
robsquires wants to merge 3 commits into
minkphp:masterfrom
robsquires:master
Closed

robsquires wants to merge 3 commits into
minkphp:masterfrom
robsquires:master

Conversation

@robsquires

Copy link
Copy Markdown

This is backed up by a CSSDriverTest which has been added to Mink via PR https://github.com/Behat/Mink/pull/380

robsquires@bda5090 is necessary because as a result on this change, the mouseover event will not be triggered unless the cursor actually enters the focus of the element (hence moving it to the beginning of the sequence)

@aik099

aik099 commented Jan 21, 2014

Copy link
Copy Markdown
Member

Have you verified, that mouseover javascript event is really triggered when you're using ->moveto method of WebDriver?

I won't be in a hurry with attempts to replacing Syn library usage, because in #51 the @robocoder explained why the Syn was used in first place. It all depends where you run Selenium (Windows, Linux, Mac, etc.): https://github.com/Behat/MinkSelenium2Driver/issues/51#issuecomment-31463643

So attempting to run Selenium on Linux (either with GUI or just on xfvb) might result in some/all js events not being fired.

@aik099

aik099 commented Jan 21, 2014

Copy link
Copy Markdown
Member

You should also send similar PR's (where test case class is extending CSSDriverTest instead of JavaScriptDriverTest) to MinkSeleniumDriver and MinkSahiDriver as well.

@robsquires

Copy link
Copy Markdown
Author

ok leave it with me, I'll run some tests to ascertain how mouseover behaves

@aik099

aik099 commented Apr 10, 2014

Copy link
Copy Markdown
Member

This functionality can't be implemented on MinkSeleniumDriver by the way, since it's using JavaScript to control the browser and can't really move the mouse.

@aik099

aik099 commented Apr 14, 2014

Copy link
Copy Markdown
Member

I'll close this task since functionality is already merged in the #126. Feel free to reopen if needed.

@aik099 aik099 closed this Apr 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants