Go down
Posts : 1
Join date : 2013-05-30

Help With Radio Button Select

on Thu May 30, 2013 8:00 am
Hello Folks,

In a webpage there are 2 radio buttons. Using Selenium 2 webdriver for Java I'm trying to select one of the radio buttons.
But when I use the following code:
webDriver.findElement(By.cssSelector("input[value=UPS]")).click() gives me
Element cannot be scrolled into view:[object HTMLInputElement] error.

I'm running the test on MAC OS and using firefox driver. Can anyone help please...
Posts : 2
Join date : 2013-09-24

Re: Help With Radio Button Select

on Tue Sep 24, 2013 11:08 pm
Try to select using Id
Back to top
Permissions in this forum:
You cannot reply to topics in this forum