Access web elements inside iframe
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Access web elements inside iframe
Hi
I'm unable to access web elements inside an iframe. After reading the documentation I'm using the below line of code to launch the browser but still it is unable to access the iframe elements.
Browsers.Item[browser_name].RunOptions = "--disable-web-security --user-data-dir=\"C:\\Users\\qpros_nssial\\AppData\\Local\\Google\\Chrome\\User Data\\Default\" --disable-site-isolation-trials -private"
Delay(3000)
Browsers.Item[btChrome].Run(url)
Sys.Browser().BrowserWindow(0).Maximize()
- Labels:
-
Web Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See Not able to access elements inside iframe. Will that be able to resolve your issue?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rraghvani
I have passed the same arguments through scripting but it is unable to locate the element as posted in my question.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See Accessing Object Frames in Chrome and Edge. Try the script example that's provided.
