You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a scenario where a page has an iframe whose source is different from the parent page. I have used switchFrame('#pasframe') functionality and then I was able to access DOM elements inside the iframe when tests were running in local chrome driver
Now when i run same tests using webDriverUrl i.e on grid, I am not able to find DOM elements inside iframe assuming switchFrame did not work as expected. Since the source of iframe is different, i am assuming this issue is related to CORS Policy. Can you please suggest what can be done to solve the issue
The text was updated successfully, but these errors were encountered:
I'm tagging this as help wanted. it sounds like an issue with the grid implementation. karate's code has been tested to work for "native" chrome. I strongly recommend you or your org take a look at the code and contribute a fix. of course after making sure the third party grid is not the issue
There is a scenario where a page has an iframe whose source is different from the parent page. I have used switchFrame('#pasframe') functionality and then I was able to access DOM elements inside the iframe when tests were running in local chrome driver
Now when i run same tests using webDriverUrl i.e on grid, I am not able to find DOM elements inside iframe assuming switchFrame did not work as expected. Since the source of iframe is different, i am assuming this issue is related to CORS Policy. Can you please suggest what can be done to solve the issue
The text was updated successfully, but these errors were encountered: