Averas 2 Posted April 24, 2016 Report Share Posted April 24, 2016 Hi, I have a problem with my code. Everything is working fine but when I pass to the Code view, the "{}" of the variables disappear. Here's the working code: if($exists(<data-style-name=r"{#Color}">)) { then { click(<data-style-name=r"{#Color}">, "Left Click", "No") } else { if($exists(<data-style-name=r"{#Color2}">)) { then { click(<data-style-name=r"{#Color2}">, "Left Click", "No") } else { alert("Non dispo") stop script } } } } (r is used for "regular expression") Then here's the code when I pass from Node View to Code View if($exists(<data-style-name=r#Color>)) { then { click(<data-style-name=r#Color>, "Left Click", "No") } else { if($exists(<data-style-name=r#Color2>)) { then { click(<data-style-name=r#Color2>, "Left Click", "No") } else { alert("Non dispo") stop script } } } }It's ruining my bot... Thanks in advance Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 24, 2016 Report Share Posted April 24, 2016 You can open up a tracker issue about this here: http://tracker.ubotstudio.com/ or contact support to let them know here: http://support.ubotstudio.com/ since it seems to be a bug. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.