cannot click on docusign document cannot click on docusign document selenium selenium

cannot click on docusign document


Just to be sure, check if the docusign is in the same frame. I have tested in salesforce before and we used to have iframes. Then you need to tell selenium to switch frames in order to find the elements.

If that is the case, use:

driver.switchTo().frame() 


This is how i have solved my problem.

driver.switchTo().frame( driver.findElement( By.xpath( iframeXpath ) ) );

and then return to the top window: driver.switchTo().defaultContent();

Thanks