Current time: 12-15-2017, 09:54 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mobile scripting
05-13-2014, 02:57 PM
Post: #1
Information Mobile scripting
Does WPT support scripting on mobile?

I have a private instance, and trying to test the below URL on iphone 5s:
https://search.yahoo.com/search;_ylt=A0S..._M:MOUS180

I'd like to be able to click the Safari location prompt(s) via script. Is this possible?


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
05-15-2014, 12:39 AM
Post: #2
RE: Mobile scripting
No, sorry - the mobile agents do not support scripting.

The newer nodejs agents supress the location UI (on Android) and do allow some level of scripting for page interactions (webdriver) but not some of the richer interactions that you can do with the desktop agents. The iOS support there is still a work in progress though.

Here's what the same test looks like on the new agents: http://www.webpagetest.org/result/140514_97_N4B/

They have a lot more data, can capture 60fps video of the page loading and have full dev tools timeline integration.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-15-2014, 02:00 PM
Post: #3
RE: Mobile scripting
Thanks, Pat.

"The iOS support there is still a work in progress though."
When do you expect to roll out iOS support?
Find all posts by this user
Quote this message in a reply
06-17-2015, 10:14 PM
Post: #4
RE: Mobile scripting
(05-15-2014 02:00 PM)pmsangal Wrote:  Thanks, Pat.

"The iOS support there is still a work in progress though."
When do you expect to roll out iOS support?

It's second on my priority list right now (behind HTTP/2 decode support) mostly because of the expected amount of work. Hopefully by the end of summer but it all depends on how broken the ios-debug-proxy is.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-05-2016, 09:47 AM
Post: #5
RE: Mobile scripting
Let's see if we can bring this thread back to life Smile

I am frantically working on adding mobile support to our internal WPT service and got a few Android devices going in no time! Then, I quickly stumbled upon the limited support for scripting. Scripting is an absolute must for us because many of our products are hiding behind SSO.

Pat - what does the priority list look like at the moment? I think i saw a number of http/2 related commits fly by and looks like some of your more recent commits include updates to the mobile agent ... promising! Smile

Is there any way we can help? I bet I can find some willing nodejs developers that can contribute to this effort!
Find all posts by this user
Quote this message in a reply
02-06-2016, 08:17 AM
Post: #6
RE: Mobile scripting
Pull requests are always appreciated, particularly is someone knows Node reasonably well. The mobile scripting support is high on my list and I'll get to it this year but not this quarter (probably just before summer). There's some basic support for DNS rewriting but not multi-step.

Looks like adding headers would be trivial (there's a remote debug protocol command for it) if that can help get past the SSO requirement, otherwise adding support for multiple script steps and the exec command are probably the minimal work to get it working.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2016, 04:17 AM
Post: #7
RE: Mobile scripting
hey Pat
Just want to check that do you have latest update that when mobile script will be ready? we set up a private instance of Android devices , it is very useful and really want the script function...

Thanks

(02-06-2016 08:17 AM)pmeenan Wrote:  Pull requests are always appreciated, particularly is someone knows Node reasonably well. The mobile scripting support is high on my list and I'll get to it this year but not this quarter (probably just before summer). There's some basic support for DNS rewriting but not multi-step.

Looks like adding headers would be trivial (there's a remote debug protocol command for it) if that can help get past the SSO requirement, otherwise adding support for multiple script steps and the exec command are probably the minimal work to get it working.
Find all posts by this user
Quote this message in a reply
10-03-2017, 08:49 AM
Post: #8
RE: Mobile scripting
Pat,

Checking whether iOS Agents support scripting now.

It would be really useful.

Thanks !!

(02-06-2016 08:17 AM)pmeenan Wrote:  Pull requests are always appreciated, particularly is someone knows Node reasonably well. The mobile scripting support is high on my list and I'll get to it this year but not this quarter (probably just before summer). There's some basic support for DNS rewriting but not multi-step.

Looks like adding headers would be trivial (there's a remote debug protocol command for it) if that can help get past the SSO requirement, otherwise adding support for multiple script steps and the exec command are probably the minimal work to get it working.
Find all posts by this user
Quote this message in a reply
10-04-2017, 02:57 AM
Post: #9
RE: Mobile scripting
It should support scripting though an issue was filed a couple of days that I need to investigate in case something broke: https://github.com/WPO-Foundation/webpag...issues/944
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2017, 03:30 AM
Post: #10
RE: Mobile scripting
Hi Pat,

Thanks for fixing the iOS scripting functionality.

The script is working with the iOS Agents now.

However, 'setDns' command is not working in the script. Even after setting setDns to a specific IP Address, the test is executed against a different IP Address.

How can I fix that?

(10-04-2017 02:57 AM)pmeenan Wrote:  It should support scripting though an issue was filed a couple of days that I need to investigate in case something broke: https://github.com/WPO-Foundation/webpag...issues/944
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)