Trevor McCauley

Results 17 comments of Trevor McCauley

Similar to what @ilyapalkin mentioned, you can create a page command to perform the selector mutation. The command doesn't have to call other commands; it would basically just parameterize the...

@drptbl my particular example wouldn't work for your case because what it does is transforms the '@' selector used in the final call (e.g. `click()`) into a string selector. The...

@oubre the problem is altering `section.selector` which is used as a path into what will ultimately help resolve `section.elements[elementName].selector`. The element is what the `click()` command is getting a reference...

@drptbl, @oubre I thought I'd give this a shot, and this is what I came up with. I don't know how robust it is, but it seems to work for...

@GrayedFox your problem is that you're using an arrow function for `el` which is breaking its context. Use a different function syntax instead.

related nightwatchjs/nightwatch#1197

Better. Including an inline class example is a welcome addition. > The test `api` object is available as `this.client.api`, where `this.client` is the Nightwatch instance itself. The api is also...

This is something I've been meaning to do. The documentation is very weak, at least on the JS side (which I did fairly quickly mostly to see how hard it...

Hi @swampthang. Sorry, but I don't have the bandwidth to help you right now. And to be honest, its been long enough that I'm not really all that familiar with...

Is it just me or does it seem odd for classes to be given a `Symbol.metadata` field that neither contains nor can be given metadata.