I am using Rspec, Selenium Webdriver, Ruby, Mac OSx When I execute script for Firefox, everything goes smooth. When I do change to Chrome Version 43.0.2357.130, there is error
> unknown error: Element is not clickable at point (385, 575). Other element would receive the click: <div class="ajax-progress > ajax-progress-throbber">...</div> > (Session info: chrome=43.0.2357.130) > (Driver info: chromedriver=2.15.322455 (ae8db840dac8d0c453355d3d922c91adfb61df8f),platform=Mac OS X 10.10.4 > x86_64) (Selenium::WebDriver::Error::UnknownError)
I tried to add wait time, also with research, I found out for Java there is possibility to do with JavascriptExecutor.
Would possible to do something in Ruby?
WebDriverWait wdw = new WebDriverWait(driver, 10);wdw.until(ExpectedConditions.invisibilityOfElementLocatedBy(By.cssSelector(".ajax-progress.ajax-progress-throbber")));