With latest update to selenium webdriver 2.41.0 and Firefox 29 setting of number fields does not seem to work any more:

fill_in "my-field", with: 1 does not do anything. Is there some way to workaround this issue?

有帮助吗?

解决方案

Selenium 2.41.0 only offically supports to Firefox 28. Please either downgrade to Firefox 28 or wait for the new Selenium release.

Duplicates of:

Selenium can't find fields with type number

Selenium send_keys doesn't work if input type=“number”

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top