Try to search your question here, if you can't find : Ask Any Question Now ?

Select and Click iframe

HomeCategory: stackoverflowSelect and Click iframe
Avatarbhawya asked 2 weeks ago

Sorry I didn’t speak English so I used a translator

I can’t select the iframe inside the webpage

— c# Code —

IWebElement go = Driver.FindElement(By.XPath(“/html/body/div[2]/div[2]/main/div/div[1]/ul/li/div/div/div[2]/iframe[1]”));

go.Click();

—–xpath—

/html/body/div[2]/div[2]/main/div/div[1]/ul/li/div/div/div[2]/iframe[1]

‘OpenQA.Selenium.NoSuchElementException’

Unable to locate element: /html/body/div[2]/div[2]/main/div/div[1]/ul/li/div/div/div[2]/iframe[1]

1 Answers
Best Answer
AvatarMikhail answered 2 weeks ago
Your Answer

9 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com