Skip to content

Fix frame handling to work everywhere; skip specific tests in unsupported configurations

Choose a tag to compare

@sbabcoc sbabcoc released this 12 Jan 04:20
  • I revised the frame-handling implementation to eliminate reliance on driver.switchTo().parentFrame(), which is unsupported on some platforms.
  • I added a switchToParentFrame() method to the WrapsContext interface and defined implementations that switch to the parent frame using Selenium Foundation's context hierarchy.
  • I eliminated the use of WebDriverManager/SeleniumManager for desktop Safari.
  • I moved the test-method skip functions to TestBase to eliminate code duplication.
  • I specified skipping of several tests for scenarios that aren't supported by Desktop Safari in Selenium 3 and Safari for iOS.