We are trying to extend our current automation to run on Safari browser, and facing multiple issues. These work perfectly on Chrome, Firefox and recently with IE too, but facing issues on Safari. Any help or suggestions on these much appreciated !
Actions class don't seem to work in safari We use actions class for dragAndDrop. When we try actions class for dragAndDrop, an error is thrown "org.openqa.selenium.ElementNotInteractableException:"
Also when we try to use actions class for moveToElement, it is not working. Is there an alternative available for actions class
Alternative tried : Tried to use dragAndDrop from this site, and it doesn't work either : https://ynot408.wordpress.com/2011/09/22/drag-and-drop-using-selenium-webdriver/
JavaScriptExecutor don't work on Safari. When we try JavascriptExecutor, it throws the same error "org.openqa.selenium.ElementNotInteractableException:"
Is there any capability that needs to be enabled for this to work ? I did enable : safariOptions.setCapability(CapabilityType.SUPPORTS_JAVASCRIPT, "true");
If I try to set the below capability, the browser does not even launch :
safariOptions.setUseCleanSession(true);
safariOptions.setUseTechnologyPreview(true);
Please advice if any of you faced any issue with these, and if you have any alternative for these,