nightwatch-docs icon indicating copy to clipboard operation
nightwatch-docs copied to clipboard

Example working with iframe with nightwatch

Open FernandoZX opened this issue 6 years ago • 1 comments

Hello, could you give a complete example about of working with iframe with nightwatch js?

i tried verify the iframe component but have an error when run the comand $ nightwatch

thank you

FernandoZX avatar Nov 19 '18 22:11 FernandoZX

This works on CHROME, EDGE (doesn't work with FIREFOX), moreover checked that .waitForElementVisible. A bit dissapointed.

.click(selector.SETTINGS.SETTINGS) //.waitForElementVisible(selector.SETTINGS.SETTINGS_IFRAME, 10000) .frame(selector.SETTINGS.SETTINGS_IFRAME) .setValue(selector.SETTINGS.SURNAME, "xxxxxx")

"selector.SETTINGS.SURNAME" < html selector constant

Pieras2 avatar Oct 21 '19 12:10 Pieras2