Replies: 2 comments
-
| 
         There are likely a number of ways. Generally I'd start with seeing how you'd achieve something in  var handle = await devToolsContext.EvaluateFunctionHandleAsync("document.querySelector('legacy-miniapp').shadowRoot.querySelector('iframe');");
var iFrame = handle.ToDomHandle<HtmlInlineFrameElement>();CefSharp.Dom/lib/PuppeteerSharp/JSHandle.cs Line 262 in dc7f292  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Thanks alot Alex,  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I need to access an iframe's windowContext and documentContext within a (open) shadowRoot and am unsure how to do it (?)
From a javascript point of view it would look like this
Beta Was this translation helpful? Give feedback.
All reactions