Guest User

Untitled

a guest
Mar 27th, 2018
294
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using OpenQA.Selenium.Support.UI;
  2. using ExpectedConditions = SeleniumExtras.WaitHelpers.ExpectedConditions;
  3.  internal static class Class1
  4.   {
  5.       var wait = new WebDriverWait(WebDriverManager.Driver, TimeSpan.FromSeconds(5));
  6.       wait.Until(ExpectedConditions.FrameToBeAvailableAndSwitchToIt(iframeId));
  7. }
RAW Paste Data