From: Rochit Sen Date: 2013-03-16T19:21:09+09:00 Subject: Re: No form name in page - Ruby Mechanize Joel Pearson wrote in post #1101908: > in watir-webdriver (which uses selenium-webdriver under the surface) it > is as simple as ".set?" and ".set". You can even pass a boolean > ".set(true) / .set(false)". Use it, it will make your code much simpler > to write and read. The documentation is much easier to read as well. > http://watirwebdriver.com/web-elements/ > > In selenium-webdriver raw, I think you have to use ".click" to set a > checkbox, and ".IsSelected". > > Try this link for a collection of tips on selenium-webdriver's > checkboxes: > http://selenium-tutorial.blogspot.co.uk/2012/10/select-check-checkbox-webdriver.html Thanks Joel. I will try this. But was wondering is there anything wrong i m doing with Mechanize? -- Posted via http://www.ruby-forum.com/.