Limitations for Testing with Apple Safari

The following are the known limitations for testing with Apple Safari on a Mac:
  • The following classes, interfaces, methods, and properties are currently not supported when testing web applications with Apple Safari on a Mac:
    • BrowserApplication class.
      • ClearCache method
      • CloseOtherTabs method
      • CloseTab method
      • ExistsTab method
      • GetHorizontalScrollbar method
      • GetNextCloseWindow method
      • GetSelectedTab method
      • GetSelectedTabIndex method
      • GetSelectedTabName method
      • GetTabCount method
      • GetVerticalScrollbar method
      • IsActive method
      • Minimize method
      • OpenContextMenu method
      • OpenTab method
      • Restore method
      • SelectTab method
      • SetActive method
      • WindowState property
    • BrowserWindow class.
      • AcceptAlert method
      • DismissAlert method
      • GetAlertText method
      • IsAlertPresent method
      • MouseMove method
      • PressKeys method
      • PressMouse method
      • ReleaseKeys method
      • ReleaseMouse method
    • IMoveable class.
      • GetFocus method.
  • Silk4NET does not support the CMD key for the TypeKeys method.
  • Silk4NET does not support testing Apache Flex.
  • Silk4NET does not support testing iframes with a JavaScript source on Apple Safari.
  • To test secure web applications over HTTPS on Apple Safari, ensure that any required server certificates are trusted.
  • Silk4NET does not provide native support for Apple Safari. You cannot test internal Apple Safari functionality. For example, in a test, you cannot change the currently displayed web page by adding text to the navigation bar. As a workaround, you can use API calls to navigate between web pages.
  • Silk4NET does not support JavaScript dialog API functions for Apple Safari. As a workaround, you could patch such functions so that they are ignored. For additional information, see https://groups.google.com/forum/#!topic/selenium-developer-activity/qsovJw93g9c.
  • Silk4NET does not support tabbing on Apple Safari.
  • To test a multi window application, disable the Apple Safari pup-up blocker. To do so, start Apple Safari and navigate to Safari Preferences > Security > Block pop-up window.
  • Silk4NET does not support testing the dialog box for saving a password. To avoid this dialog box, start Apple Safari, navigate to Safari Preferences > AutoFill, and check the User names and passwords check box.
  • Silk4NET does not support properties in XPath expressions for Apple Safari. Only attributes are supported in XPath expressions.
  • Silk4NET does not support testing web applications which include a Content-Security-Policy HTTP header.
  • With Apple Safari 10.1, Silk4NET does not support navigating back in the browser.
  • With Apple Safari 10.1, Silk4NET does not support using control keys in the TypeKeys method.
  • With Apple Safari 10.1, Silk4NET only supports dom actions in Frames and IFrames.
  • With Apple Safari 10.1, Silk4NET does not support navigating with Frames and IFrames.
  • With Apple Safari 10.1, Silk4NET does not support direct scrolling during recording. As a workaround, you could use the executeJavaScript method.