Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot programmatically open menu / trigger mousedown (For testing) #1114

Closed
jfeldstein opened this issue Jul 21, 2016 · 4 comments
Closed

Comments

@jfeldstein
Copy link

https://plnkr.co/edit/uN6sdCanjlDsvxpg7a8i?p=preview

Looks like I'm not the only one having issues with selenium testing a page using react-select.

My selenium cannot click on the elements (they're ignored), and I can't get javascript to fake it, either.

What's going on? How can I programmatically open this menu to continue my test?

@liquid1982
Copy link

I have the same problem – I'm able to interact with the component via Selenium / SitePrism, but I am not able to do the same while using Poltergeist. I tried literally everything.

Here's my setup:
https://github.com/liquid1982/react-select-example

@liquid1982
Copy link

I found a way to make react-select work using Poltergeist – hope it helps

https://github.com/liquid1982/react-select-example

@YaakovKobiMedina
Copy link

YaakovKobiMedina commented Jun 21, 2017

Found this solution in Java for the WebElement instance "dropdownElement":

import org.openqa.selenium.interactions.Actions

...

Actions actions = new Actions(driver);
actions.click(dropdownElement).build().perform();

@bladey
Copy link
Contributor

bladey commented May 27, 2020

Hello -

In an effort to sustain the react-select project going forward, we're closing old issues / pull requests.

We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our limited efforts to maintain the latest version.

If you feel this issue / pull request is still relevant and you'd like us to review it, please leave a comment and we'll do our best to get back to you.

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

No branches or pull requests

4 participants