I am trying to switch to Iframe on this link
CodePudding user response:
In the link which you shared, iframe tag is inside 'Shadow DOM', which is why selenium throws exception
Try with JavaScript executor to access the web element in chrome, it will work.
For more details please do refer Handle Shadow DOM