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.
  • Silk Test Workbench does not support the CMD key for the TypeKeys method.
  • Silk Test Workbench does not support testing Apache Flex.
  • Silk Test Workbench 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.
  • Silk Test Workbench 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.
  • Silk Test Workbench 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.
  • Silk Test Workbench does not support tabbing on Apple Safari.
  • If the replay of a visual test is slow, set the option Control capture under Tools > Options > Playback > Results > Visual test, to No. Otherwise, the playback might get very slow for rich Web pages, and might even result in a communication timeout.
  • 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.
  • Silk Test Workbench 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.
  • Silk Test Workbench does not support properties in XPath expressions for Apple Safari. Only attributes are supported in XPath expressions.
  • Silk Test Workbench does not support testing web applications which include a Content-Security-Policy HTTP header.
  • With Apple Safari 10.1, Silk Test Workbench does not support navigating back in the browser.
  • With Apple Safari 10.1, Silk Test Workbench does not support using control keys in the TypeKeys method.
  • With Apple Safari 10.1, Silk Test Workbench only supports dom actions in Frames and IFrames.
  • With Apple Safari 10.1, Silk Test Workbench does not support navigating with Frames and IFrames.
  • With Apple Safari 10.1, Silk Test Workbench does not support direct scrolling during recording. As a workaround, you could use the executeJavaScript method.