Problem as stated in the question, these are the errors I get (included so people can find this post when they get the same error in the future) but the full explanation is in the link above ><
Using Firefox:
ElementNotInteractableException:Element<option> could not be scrolled into view
Using Chrome:
ElementNotVisibleException: element not visible:Elementisnot currently visible and may not be manipulated
total QA
unread,
Jun 20, 2018, 1:13:55 AM6/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Hi,
Make sure you select the option only once you click on the Select element.
Please find the Logic mentioned below:
<select id="Day">
<option value="">1</option>
<option value="">2</option>
</select>
Before selecting the option try this way
driver.findElement(By.id("Day")).click();//Let the list is activated..
Go for selection now..new Select(driver.findElement(By.id("Day")).selectByVisibleText("1");
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
I elaborated in the Stack Overflow post but not here but... I can click on the list. I just can't select the option. Is there a way I can click on the option without the Select module?
total QA
unread,
Jun 21, 2018, 2:03:33 AM6/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Yes it can be done. by Taking the Xpath of the Option available in the Listbox.