Hi,
I have some problems with the frames support fix. I being submitted a form, when the page loads I'm trying to click a link on a frame and it crashes. I'd got some different exceptions:
Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Selenium failure. Please report to
seleni...@openqa.org, with error details from the log window.
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
OR
Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Selenium failure. Please report to
seleni...@openqa.org, with error details from the log window.* loc property is undefined*
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:73)
at com.thoughtworks.selenium.DefaultSelenium.click(DefaultSelenium.java:82)
Now, i can't reproduce the last exception, always i get the first.
I was debugged the javascript code added for the fix and i have seen that it crashes when it tries to execute line 603. I don't know the reason, because on inDocument object exists the element named identifier value that it wanted.
*/**
600 * Find the element with id - can't rely on getElementById, coz it returns by name as well in IE..
601 */
602PageBot.prototype.locateElementById = function(identifier, inDocument) {
603 var element = inDocument.getElementById(identifier);
604 if (element &&
element.id === identifier) {
605 return element;
any ideas?