nightwatch
nightwatch copied to clipboard
Fix frame() command to support page object element
This PR addresses the issue where the frame() command does not support page object elements.To solve the issue this PR implements frame() command as client-command instead of protocol command.
Status
- ❌ No modified files found in the types directory. Please make sure to include types for any changes you have made. Thank you!.
We need an additional test with frame() using a page object element.
Thanks @yashPratp983. You could perhaps add a test that looks similar to this for the frame command: https://github.com/nightwatchjs/nightwatch/blob/e7fde68bdf6dd43e9a1c7bcd38263f54dd287bda/test/src/core/testPageObjectCommands.js#L31
I have added the test.
Any updates here?