Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using OpenQA.Selenium.Support.UI;
- using ExpectedConditions = SeleniumExtras.WaitHelpers.ExpectedConditions;
- internal static class Class1
- {
- var wait = new WebDriverWait(WebDriverManager.Driver, TimeSpan.FromSeconds(5));
- wait.Until(ExpectedConditions.FrameToBeAvailableAndSwitchToIt(iframeId));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement