Running conditional statements in selenium builder

43 views
Skip to first unread message

Jacob Ashai

unread,
Nov 11, 2016, 6:37:41 AM11/11/16
to Se Builder
Is here a way to run conditional statements or loops in selenium builder?

David Vardy

unread,
Nov 11, 2016, 10:43:58 AM11/11/16
to se-bu...@googlegroups.com
I used conditional javascript within a single step.  But have since moved to facebook php webdriver for flexibility.

random example:

if (window.location.href.indexOf('bbc') > -1 && window.location.href.indexOf('com') > -1) {do stuff};

On Fri, Nov 11, 2016 at 11:37 AM, Jacob Ashai <jacob...@gmail.com> wrote:
Is here a way to run conditional statements or loops in selenium builder?

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

Reply all
Reply to author
Forward
0 new messages