Hi, my test works fine in both Chrome and Safari but for some reason on Firefox (version 54) I keep getting this error:
Test Cases/New Test Case FAILED because (of) Unable to click on object 'Object Repository/Page_Leadership MicroStar Logistic/a_Learn More 1' (Root cause: org.openqa.selenium.WebDriverException: Element <a href="#" class="btn btn-default" data-toggle="modal" data-target="#defaultInfoModal" data-image-url="http:wp-content/uploads/2017/08/MH.jpg" data-image-alt="Michael Hranicka" data-title="MICHAEL HRANICKA PRESIDENT & CEO" data-body="<p>First introduced to the incredible world of beer while working for a large company, and true to his Bohemian roots, Michael dreamt of breaking free from corporate America to join a nimble, entrepreneurial company in the beer industry. Now he’s living that dream armed with a new, hand-picked leadership team and working with the best customers on earth … breweries! When he is not wandering the beer industry, he can be found hiking in the mountains with his wife and three children, attending their sporting events or meandering along a golf course.<p/><p>Style of Choice: Amber Ale</p>"></a> is not clickable at point (236.64999389648438, 15.949996948242188). Other element would receive the click: <div class="brand-bar"></div>
I tried doing scroll by element to see if that would fix it but it didn't. Any other suggestions???
Here is my test:
WebUI.openBrowser('')
WebUI.navigateToUrl('website.com')
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/a_Learn More 1'))
WebUI.waitForElementVisible(findTestObject('Page_Leadership MicroStar Logistic/button_Close'), 0)
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/button_Close'))
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/a_Learn More 2'))
WebUI.waitForElementVisible(findTestObject('Page_Leadership MicroStar Logistic/button_Close'), 0)
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/button_Close'))
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/a_Learn More 3'))
WebUI.waitForElementVisible(findTestObject('Page_Leadership MicroStar Logistic/button_Close'), 0)
WebUI.click(findTestObject('Page_Leadership MicroStar Logistic/button_Close'))
WebUI.closeBrowser()