Compatibility issues with Internet Explorer and Firefox
| Issue | Watir::IE | FireWatir::Firefox | Workaround? | Workaround | JIRA |
|---|---|---|---|---|---|
| The attach method is called differently. | Class method. IE.attach(:title, 'foo') | Instance method. ff = FF.new; ff.attach(:title, 'foo') | |
||
| Missing class methods | IE.each, IE.find | none | |||
| I had problems with the set method when trying to set text fields on a search page. There was a div that would dynamically pop up on the right side of the page as soon as text entry started and only the first character got entered. | |
I just called the method twice twice to get past that.. | |||
| Watir has no pageload timeout and Firewatir has a pageload timeout. Would like to see a timeout method to set the timeout in both Watir and FireWatir | |
Override the Watir's wait method to include a timeout(default to 30 seconds)WTR-46 | WTR-46 WTR-192 | ||
| Watir attach method waits for the page in the window to be loaded before the attach method returns. Firewatir attachs to a window before the whole page is loaded. | |
Override the firewatir's attach method to include a wait WTR-257 | WTR-257 | ||
| Options | Specified with IE.set_options. Affects both Browser.new and Browser.start. Allows options: :speed and :visible | Specified as arguments to Browser.new. Allows options: :waitTime and :profile. Options don't affect Browser.start | |||
| Chinese Support | Supports Chinese input (multibyte). | Does not support Chinese. Problem seems to stem with limits of JSSH. | no | ||
| Table Body | ie.table().body | not supported | |||
| WatirLogger | included | not included | Create your own subclass of Logger instead of using WatirLogger. Or use Log4R. | ||
| click_no_wait | ie.button().click_no_wait (intermittent reports of problems) | not available | def click_no_wait(object_name)
$jssh_socket.send("browser.contentWindow.setTimeout(function()
{document.forms[0].#{object_name}.click()},0);\n", 0)
self.read_socket()
end
|
||
| Closing all windows and quitting the browser app. This is an issue for the mac, because on that platform you can close all windows without closing the app itself. | IE.close_all | none (but SafariWatir has browser.quit) | I think someone posted code somewhere, maybe in Jira |
Comments (4)
Sep 20, 2008
Alister Scott says:
Formatted this page to encourage specifying workarounds and also JIRA issue IDsFormatted this page to encourage specifying workarounds and also JIRA issue IDs
Nov 03, 2008
Alister Scott says:
Done. Only unresolved now showing. Did you want to include only bugs, like prese...Done. Only unresolved now showing. Did you want to include only bugs, like present, or would you like enhancements as well?
Nov 12, 2008
Bret Pettichord says:
Alister, Thanks. Not sure about including enhancements. If we have items relevan...Alister, Thanks. Not sure about including enhancements. If we have items relevant to this page in enhancements, then we should include them as well.
Jun 15, 2009
Devin Smith says:
The http://j2ee.jira.seleniumhq.org:8080 for WTR bugs seems to be down. Ca...The http://j2ee.jira.seleniumhq.org:8080 for WTR bugs seems to be down. Can I switch it over to http://jira.openqa.org/browse ?