I am having some struggle with my Selenium JS in New relic. I am trying to click an element and I am keeping get back the error "Element is not clickable at point". The solutions at the tread Selenium Web Driver & Java. Element is not clickable at point (x, y). Other element would receive the click are not really applicable to NewRelic. The snippet I am using is
.then(function() {
log(26, 'clickElement "//form[@id=\'giftcard-form\']/div[3]/div/button"');
return $browser.waitForAndFindElement(By.xpath("//form[@id=\'giftcard-form\']/div[3]/div/button"), DefaultTimeout); })
.then(function (el) { el.click(); })
I don't see anything wrong with the code and the element is visible on the page.
![enter image description here][1]
Any suggestions? it seems a common issue but I didn't have luck with the solutions offered in the other thread Thanks, Thomas