There is a modal dialog overlay being displayed and I am unable to click or find elements on the popup.
Below is the code I have to locate the clipAllElement:
clipAllButton = getWait().until(
ExpectedConditions.visibilityOf(clipAllButton));
clipAllButton.click();
Executing the following javascript works fine:
/*String str = "jQuery('.mod-featuredtoday-flyout .ft .cta-button').trigger('click')";
((JavascriptExecutor)getDriver()).executeScript(str);*/
However, Selenium throws a nosuchelement exception.
I am using Firefox 21 and Selenium version 2.33
Has anyone encountered a similar issue and knows of any workarounds?