Safari browser is not identifying the button based on cssSelector or xpath
问题 My tests are Failing while running the in the Safari browser pointed to Browserstack cloud env. Could anyone please advise on how to fix the problem here. When a button is clicked, system displays a Modal Overlay and the "Show results" button is displaying inside the Modal overlay I have tried the test with xpath and By.cssSelector() way to grab the button, but still not good. WebElement showResultButton = driverSafari.findElement(By.cssSelector("div.modal-content .app-modal-footer.modal