Forum Discussion

nandini_thota's avatar
nandini_thota
Contributor
3 years ago
Solved

Issue while launching the chrome browser with Run Options

I have a salesforce application where in which it has frames in the application. I was not able to identify the objects within the frame initially, but after referring the below link, I was able to h...
  • hkim5's avatar
    3 years ago
    def test2():
    
      Browsers.Item[btChrome].__setprop__('RunOptions', '--disable-web-security --user-data-dir=\"C:\\Users\\n.thota\\AppData\\Local\\Google\\Chrome\\User Data\\Default\" --disable-site-isolation-trials --allow-file-access-from-files')
      Browsers.Item[btChrome].Run()
      Sys.Browser("chrome").BrowserWindow(0).Maximize()
      Sys.Browser("chrome").Close()