Do you know what library is being used to create that select list? Justin
On Wednesday, April 3, 2019 at 12:25:43 PM UTC-4, rajagopalan madasami wrote: > > 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, <[email protected] <javascript:>> > 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, [email protected] >> 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. >> >> [email protected] <javascript:> >> http://groups.google.com/group/watir-general >> [email protected] <javascript:> >> --- >> 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 [email protected] <javascript:>. >> 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. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
