Current time: 12-13-2017, 07:17 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic scripting now available for Chrome
04-26-2011, 07:14 AM
Post: #1
Basic scripting now available for Chrome
We just pushed some basic scripting support for the experimental Chrome agent. The following commands are supported: navigate, logData, setDns, setDnsName.

That should be enough for doing navigation-path testing or dev testing of production sites. If there are other commands you use on a regular basis let us know and we'll prioritize them as we work through the scripting implementation. Next up will probably be the form-elements so that you can automate logins and rich application interactions.

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
04-26-2011, 04:41 PM
Post: #2
RE: Basic scripting now available for Chrome
Great Pat.

Please add:
combineSteps, click, sleep
Find all posts by this user
Quote this message in a reply
05-04-2011, 10:32 AM
Post: #3
RE: Basic scripting now available for Chrome
combineSteps, sleep, exec and execAndWait are now live. I'll be adding setCookie tomorrow and then I'll probably work on packaging up the release (I will probably have to tackle click after the release but exec is kind of a hammer that you can use for anything so it might work as a work-around).

Here is a sample script:

combineSteps
navigate http://www.gogle.com
exec document.body.innerHTML='<h1>And now for the NEWS...</h1>'
sleep 5
navigate news.google.com

And the result:

http://www.webpagetest.org/video/compare...42-r:1-c:0

I'll also start working with the different location owners to deploy Chrome to some of the other agents now that it's pretty stable (and the update mechanism is working well).
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2011, 10:35 AM
Post: #4
RE: Basic scripting now available for Chrome
Nice!
Find all posts by this user
Quote this message in a reply
05-05-2011, 05:34 AM
Post: #5
RE: Basic scripting now available for Chrome
ok, setCookie is now live as well.

I'll start packaging things up for distribution now (and give it a couple of days just to make sure there aren't any big issues). Release should be ready on Friday.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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