Current time: 12-07-2019, 06:49 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does it interact with the browser?
04-10-2013, 11:41 PM (This post was last modified: 04-10-2013 11:43 PM by PauloIntechnica.)
Post: #1
How does it interact with the browser?
How does the WebpageTest framework interacts-with/commands the browser?

My current theory is the following:
1- The system relies on WptDriver (and/or wpthook.dll) to handle the interaction - inject commands and get to know current browser's state (which elements exist, etc).
2a- That driver/hook is WebDriver or is a wrapper to it (http://en.wikipedia.org/wiki/WebDriver#S..._WebDriver)
or
2b- That driver/hook implements the same interface to control WebBrowsers as WebDriver (http://www.w3.org/TR/2013/WD-webdriver-20130117/)
or
2c- That driver/hook implements pretty much the same functionalities as WebDriver.

If I'm not very far off, is the WebpageTest framework expected to successfully execute "Selenese" scripts created for WebDriver, for example created for Selenium with the Selenium-IDE?
Find all posts by this user
Quote this message in a reply
04-11-2013, 06:36 PM
Post: #2
RE: How does it interact with the browser?
There are some messages where Pat explains how it works in the forum but I can't find them ATM.

For IE a .dll is injected into the IE process, Chrome and Firefox use a browser plugin.

As far as I'm aware there is no support for Selenium scripts.

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
04-16-2013, 05:49 AM
Post: #3
RE: How does it interact with the browser?
WebPagetest's agents generally don't have anything in common with webdriver or selenium. The exception is the node.js agent (under agents/js) which can run javascript webdriver scripts and uses webdriver to drive the browser (and it captures the performance data through dev tools). It only works with webkit-based browsers that support remote dev tools and it's still in alpha state but we are actively working on the code now.

The rest of the agents are all custom and use different forms of code injection to interact with and instrument the browsers.
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: 2 Guest(s)