Re: [wtr-general] Cheesy gem and right click to the element
Works for me as well :) Понеділок, 16 грудня 2013 р. 12:17:31 UTC+2 користувач Željko Filipin написав: On Mon, Dec 16, 2013 at 10:49 AM, QOExcel qoe...@gmail.com javascript: wrote: self.sheet_arrow_element.when_visible.right_click Try this: self.sheet_arrow_element.when_visible.element.right_click Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. 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.
[wtr-general] Cheesy gem and right click to the element
I would like to use right click to element in cheesy gem. Here is my piece of code: div(:sheet_arrow, :class = 'docs-icon goog-inline-block docs-sheet-tab-dropdown') self.sheet_arrow_element.when_visible.right_click It works actually. The problem is a message, that came after my test .. *** DEPRECATION WARNING *** You are calling a method named right_click at *** This method does not exist in page-object so it is being passed to the driver. How can i avoid it and normally use right click method in cheesy gem. I can use of course method from watir webdriver here, but i hope that i can use somewhat method from cheesy gem too. Are there some ideas about that? -- -- Before posting, please read http://watir.com/support. 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/groups/opt_out.
Re: [wtr-general] Cheesy gem and right click to the element
On Mon, Dec 16, 2013 at 10:49 AM, QOExcel qoex...@gmail.com wrote: self.sheet_arrow_element.when_visible.right_click Try this: self.sheet_arrow_element.when_visible.element.right_click Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. 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/groups/opt_out.
Re: [wtr-general] Cheesy gem and right click to the element
It works fine!! Thank you! понедельник, 16 декабря 2013 г., 14:17:31 UTC+4 пользователь Željko Filipin написал: On Mon, Dec 16, 2013 at 10:49 AM, QOExcel qoe...@gmail.com javascript:wrote: self.sheet_arrow_element.when_visible.right_click Try this: self.sheet_arrow_element.when_visible.element.right_click Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. 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/groups/opt_out.