There is an :element locator that takes the Selenium object: element = driver.find_element(id: 'something') watir_element = browser.element(element: element)
Justin On Thursday, June 20, 2019 at 3:28:45 AM UTC-4, rajagopalan madasami wrote: > > I know how to convert WATIR element into selenium element > > > > element=b.text_field > > > selElement=element.wd > > But Is there anyway I can convert selenium element into WATIR element? > > Like > > element=driver.find_element(id: 'something') > > watirElement=? > > > -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/watir-general/b8d9bb07-dc78-4ead-94df-9fc19f74bbfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.