BAS Browser Automation Studio Help

Celestran

Newbie
Joined
Jul 5, 2024
Messages
8
Reaction score
0
Hello, wait until the current url changes and continue processing when it changes. I want how do I do this
 
you can use the currenturl in browser. Just use IF … in script logic for the next URL

If the URL is variable then maybe use is element exist and then IF is_exist

Would be easier if you gave a bit more info about what you’re doing.
 
Last edited:
tarayıcıda currenturl'yi kullanabilirsiniz. Bir sonraki URL için betik mantığında sadece IF … kullanın

Eğer URL değişken ise o zaman belki is element exist kullanılıp ardından IF is_exist kullanılabilir

Ne yaptığınız hakkında biraz daha bilgi verirseniz daha kolay olur.
the current url value should be taken in browser automation studio and if it is the current url, it should be time sleep, but if the current url has changed, the process should continue. But it should constantly check all of them every 3 seconds, so if the current url changes, it should continue
 
you can use the currenturl in browser. Just use IF … in script logic for the next URL

If the URL is variable then maybe use is element exist and then IF is_exist

Would be easier if you gave a bit more info about what you’re doing.
Summary
By following these steps, you can constantly check the URL in BAS and when the URL changes, interrupt the cycle and continue the process.
 
I’m not sure if I understand what you are asking exactly. It sounds like you are explaining and not asking a question.

If I understand you correctly what you need to do is use the While function. While currenturl is the same as previously you make it sleep x duration, then you add an IF function for either currenturl is the new url or perhaps is element exist if it is variable url but with same element.

Then it will loop checking your current URL and sleeping until it changes and if it changes then continue.
 
I’m not sure if I understand what you are asking exactly. It sounds like you are explaining and not asking a question.

If I understand you correctly what you need to do is use the While function. While currenturl is the same as previously you make it sleep x duration, then you add an IF function for either currenturl is the new url or perhaps is element exist if it is variable url but with same element.

Then it will loop checking your current URL and sleeping until it changes and if it changes then continue.
thanks
 
Back
Top