Hi Marcin,

nothing happens, I do not get any error.

I tried also

   def menuButton = $("span", id:"hybris-customer")

   menuButton.click()

   interact { click menuButton}

   menuButton << Keys.ENTER


but the button is not clicked, although it is displayed.

Do you have any idea what to click seeing the html code?

Thank you very much,
Roland


On Wednesday, June 21, 2017 at 11:00:00 PM UTC+2, Marcin Erdmann wrote:
>
> Hi,
>
> Does your selector even work? Is it returning a non-empty navigator or is 
> it returning an empty one and that's why you have "required: false" in your 
> content definition? What does "I do not have any success" mean? Are you 
> getting an error or does nothing happen?
>
> Marcin
>
> On Mon, Jun 19, 2017 at 3:17 PM, <[email protected] <javascript:>> wrote:
>
>> hi,
>>
>> could anyone please help me?
>>
>> I need to click this button
>>
>> <span style="padding: 0px 10px;" id="abc-customer">
>> <comp-svg params="{ name: 'user' }" class="neo-icon neo-icon--sm 
>> neo-icon--white">
>> <svg data-bind="css: setClasses()" class="svg svg--user 
>> svg--color-undefined">
>> <use xlink:href="
>> https://test.abc.com/.resources/abc-ui/webresources/assets/svg/sprite.svg#user
>> " data-bind="attr: { 'xlink:href': getSpriteUrl() }"/>
>> </svg>
>> </comp-svg>
>>
>> but I do not have any success, tried e.g.
>>
>> userMenuButton (required: false) { $("span", 
>> id:"hybris-customer").$("comp-svg").find("use")
>>
>>
>> using << Keys.ENTER, it does not work.
>>
>> any idea?
>>
>> thanks in advance!
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/geb-user/7ba1c922-7692-49af-ad1a-5e3f5c6e542c%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/geb-user/7ba1c922-7692-49af-ad1a-5e3f5c6e542c%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/f10b5bd9-f642-4128-b036-086a147aa343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to