0
このコードで何が問題なのかよく分かりません。私はObject reference not set to an instance...
エラーが発生します。次のようにiframe id(動的iframeのため)を見つけようとしています
コードは次のとおりです。
判明 var frameName = _driver.
FindElement(By.Id(CrmCommon.contentpanel)).
FindElements(By.TagName("iframe")).
FirstOrDefault(x => x.GetCssValue("style").Contains("visible")).GetAttribute("id");