-
Notifications
You must be signed in to change notification settings - Fork 270
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
Selecting multiple <option> from a <select multiple> #359
Comments
I've tried using keys() to send |
I have also getting same issue. I have to select multiple div elements via pressing ctrl key + click ! @giorgiosironi Is there any specific function that can press and release key ! |
In theory some keys are considered sticky, so they should remain pressed by default. Look for |
I have some old tests ported from SeleniumTestCase to Selenium2TestCase (btw, here's a small class i've created to make the porting easier: https://github.com/pradosoft/prado/blob/master/tests/test_tools/PradoGenericSelenium2Test.php ).
In the old tests i used
addSelection()
in order to select an<option>
in a<select multiple>
element without deselecting the currently selected items.Such method doesn't exists in Selenium2TestCase, and googling around i saw that the current way to do this is something like:
If i'm not mistaken, in Selenium2TestCase no such keyPress/KeyRelease method exists, too.
So, is there a way to accomplish what i'm trying to do?
The text was updated successfully, but these errors were encountered: