Forum Discussion

Mr_Bro's avatar
Mr_Bro
Frequent Contributor
5 years ago

Handling iFrame Objects

Hi Team,   Im not able to identify any objects under a iframe object, Please let me know how to make the objects under iframe to be visible in the object browser.   waiting for your valuabl...
  • Mr_Bro's avatar
    Mr_Bro
    5 years ago

    i was able to find the objects under iframe by using the below code.

     

    function SetChromeRunOptions()
    {
    // Specify the required command-line key
    Browsers.Item("chrome").RunOptions = "--disable-web-security --user-data-dir=C:\\Users\\sathish\\tempChromeProfile\\ --disable-site-isolation-trial";
    Browsers.Item("chrome").Run();
    Browsers.Item("chrome").Navigate(urloftheapplication)

    }