Hi Justin,

Thanks. I am aware of click with modifiers uses action builder under the
hood. My requirement is, I am automating a new application in which to
choose the option, I need to click the select list and the option would
appear like any other select list and the I have to click the option . This
is the way selection can be performed . The problem here is I can use WATIR
click for select list but then when I click the option using WATIT/SELENIUM
click its not choosing the option but If I click that option using action
builder then it's choosing the option. Do you have any idea why this
happens? And also how does this action builder click differ from selenium
click?

On Wed, 3 Apr, 2019, 9:45 PM Justin Ko, <jkote...@gmail.com> wrote:

> There is nothing directly provided for working with the ActionBuilder. If
> you need to call the ActionBuilder, you will need to access the
> Selenium::WebDriver and convert the Watir::Element using #wd - eg:
>
> browser.driver.action.click(your_watir_element.wd).perform
>
> Note that there are methods that use the ActionBuilder under the covers -
> eg #click with modifiers. Ideally we'd write methods for things that need
> the ActionBuilder (ie no need to call it directly), so let us know if there
> are common methods you need.
>
> Justin
>
>
> On Wednesday, April 3, 2019 at 2:29:07 AM UTC-4, rajagopal...@gmail.com
> wrote:
>>
>> hi, Is there any WATIR module is defined to use ActionBuilder. For an
>> example, How can I do the following code in WATIR?
>>
>> driver.action.click(element).perform
>>
>> Any WATIR way of performing the above operation?
>>
>> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to