website opened

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

website opened

Post by Ankit » 16 Apr 2014 06:58

Hi martin

Can automagic determine if a website is completely opened or loaded and not opening or loading..

Actually i want to perform some action when an website is completely opened..


If this is not present so this is my feature request for adding the trigger for same..

Thanx in advance.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: website opened

Post by Martin » 17 Apr 2014 17:50

Hi,

It's not possible to detect this and I think there's no API in Android to check for such an event.

Regards,
Martin

Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

Re: website opened

Post by Ankit » 18 Apr 2014 02:16

Ok
Thanx for reply...

EBen
Posts: 13
Joined: 27 Aug 2014 08:06

Re: website opened

Post by EBen » 29 Aug 2014 18:04

As a somewhat dirty workaround, you may try a control ui script checking if an element specific for the website exists and optionally if it has the expected size and position. This is a sample script:

pageloaded=0;
while(pageloaded<10)
{
sleep(1000);
bounds=getBounds("text of some element of site");
if(bounds!=null)
{
if((getElement(bounds,0)==15) AND (getElement(bounds,1)==185) AND (getElement(bounds,2)==361) AND (getElement(bounds,3)==30))
{
pageloaded=10;
}
}
pageloaded=pageloaded+1;
}

Locked