nightwatchjs / nightwatch

Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
https://nightwatchjs.org
MIT License
11.79k stars 1.31k forks source link

Unable to locate element #431

Closed sivapriya-k closed 9 years ago

sivapriya-k commented 9 years ago

I have a select box inside a div and though I can select it using the css selector directly on the console, when I run the nightwatch test, it keeps complaining - 'Unable to locate element by css selector'

.click('select#sectionField_510_42') - this is what I'm using to click the select box. I tried various css selectors, all of which would work on the console but fail to be located via nightwatch test.

Not sure why it is not able to find, though when these tests are run, the fields are visible

beatfactor commented 9 years ago

Please do not ask for support or questions in the Issues list. The mailing list is a much better place for discussions.

sivapriya-k commented 9 years ago

Thank you for the response. Is there anyway we can check with other people for support issues.

On Fri, May 1, 2015 at 10:11 AM, Andrei Rusu notifications@github.com wrote:

Please do not ask for support or questions in the Issues list. The mailing list is a much better place for discussions.

— Reply to this email directly or view it on GitHub https://github.com/beatfactor/nightwatch/issues/431#issuecomment-98141454 .

beatfactor commented 9 years ago

Yes, on the mailing list.

On Friday, May 1, 2015, sivapriya-k notifications@github.com wrote:

Thank you for the response. Is there anyway we can check with other people for support issues.

On Fri, May 1, 2015 at 10:11 AM, Andrei Rusu <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Please do not ask for support or questions in the Issues list. The mailing list is a much better place for discussions.

— Reply to this email directly or view it on GitHub < https://github.com/beatfactor/nightwatch/issues/431#issuecomment-98141454> .

— Reply to this email directly or view it on GitHub https://github.com/beatfactor/nightwatch/issues/431#issuecomment-98143026 .