File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -810,35 +810,6 @@ public void AnElementFoundInADifferentFrameIsStale()
810810 Assert . That ( ( ) => { string foo = element . Text ; } , Throws . InstanceOf < StaleElementReferenceException > ( ) ) ;
811811 }
812812
813- [ Test ]
814- [ IgnoreBrowser ( Browser . Chrome , "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4443" ) ]
815- public void AnElementFoundInADifferentFrameViaJsCanBeUsed ( )
816- {
817- driver . Url = missedJsReferencePage ;
818-
819- try
820- {
821- driver . SwitchTo ( ) . Frame ( "inner" ) ;
822- IWebElement first = driver . FindElement ( By . Id ( "oneline" ) ) ;
823-
824- driver . SwitchTo ( ) . DefaultContent ( ) ;
825- IWebElement element = ( IWebElement ) ( ( IJavaScriptExecutor ) driver ) . ExecuteScript (
826- "return frames[0].document.getElementById('oneline');" ) ;
827-
828-
829- driver . SwitchTo ( ) . Frame ( "inner" ) ;
830-
831- IWebElement second = driver . FindElement ( By . Id ( "oneline" ) ) ;
832-
833- Assert . AreEqual ( first , element ) ;
834- Assert . AreEqual ( second , element ) ;
835- }
836- finally
837- {
838- driver . SwitchTo ( ) . DefaultContent ( ) ;
839- }
840- }
841-
842813 /////////////////////////////////////////////////
843814 // Tests unique to the .NET bindings
844815 /////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments