nightmare-iframe-manager icon indicating copy to clipboard operation
nightmare-iframe-manager copied to clipboard

CodeceptJs when using with this plugin not able to find elements to click or do any operation on it

Open bhupendrasinghparihar05 opened this issue 7 years ago • 0 comments

I tried using this plugin with nightmare, works fine, but not working properly with codecept. Here is my sample code. `I.accessEditor();

I.switchToIframe('#siteEditorIframe');
let title = yield I.grabTitle();
I.switchToIframe('#editor');

I.click(editLinkSelector); //editLink Selector not found. 

I.exitFromIframe();
I.exitFromIframe();`

I know the reason as codecept is still accessing from the current window using its instance.

bhupendrasinghparihar05 avatar Mar 09 '17 12:03 bhupendrasinghparihar05