Forum Discussion

Mr_Bro's avatar
Mr_Bro
Champion Level 0
4 years ago
Solved

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 valuable response.

 

Thanks in advanve,

  • Mr_Bro's avatar
    Mr_Bro
    4 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)

    }

2 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    What happens when you try?  Let us see screenshots please.

    • Mr_Bro's avatar
      Mr_Bro
      Champion Level 0

      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)

      }