[Wtr-general] [firewatir] Fire_event not working in Firefox

jhun forum-watir-users at openqa.org
Thu Jun 7 04:12:26 EDT 2007


I have this in my code:

					lis = $browser.elements_by_xpath("//li");
					lis.each do |li|
						$logger.log("value: " + li.id);
						if (li.id == d.id[4..10])
							$logger.log("FOUND!!!");
						*	li.fire_event("ondblclick");*
							break;
						end
					end

In bold text, doesnt seem to work. Can you please help me or i hope there's alternative to activate the ondblclick event. Thanks for the help!


More information about the Wtr-general mailing list