SHARE
TWEET

Untitled

a guest Mar 27th, 2018 210 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top