No problem Alex. There's no need to worry about deleting it, it still might
prove useful to people and I don't think it's even possible to delete it.

Cheers,
Marcin

On Tue, Jun 11, 2019 at 10:13 AM AlexB <[email protected]> wrote:

> Oops. It looks like it works fine for Form Control Modules. Sorry. How do
> I delete this post?
>
> On Tuesday, June 11, 2019 at 12:11:20 PM UTC+3, AlexB wrote:
>>
>> Hi All,
>>
>> As per the documentation I added to GebConfig class the following line:
>>
>> innerNavigatorFactory = { Browser browser, List<WebElement> elements ->
>>
>>    elements ? new MyCustomNavigator(browser, elements) : new
>> EmptyNavigator(browser)
>>
>> }
>>
>> An I see MyCustomNavigator is used in all cases when elements are
>> declared:
>> a) without using Form Control Modules
>> b) using CSS only as a locator.
>> Example:
>> static content ={
>>     anElement{$("div>div>div.class>button")}
>> }
>>
>> If I use geb locator syntax or specify a module for an element default
>> NonEmptyNavigator is used.
>> Example:
>> static content ={
>>     anElement1{$("div>div>div.class>button", text: "Continue")}
>>     anElement2{$("div>div>div.class>button").module(FormElement)}
>> }
>>
>> *Question:*
>> Is there a way to use MyCustomNavigator for the elements that use Form
>> Control Modules as well?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/geb-user/6de6ea18-6c84-436c-95b9-1e6d1fcd2d9f%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/6de6ea18-6c84-436c-95b9-1e6d1fcd2d9f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/CA%2B52dQSXx3u%2BDFZ3PbFGaGK9bOufVuYEJpxVvGsJZO5-z18mSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to