This repository contains remote webdriver clients written in python and designed to be used in the remote webdriver enabled version of webpagetest
Install python dependencies (may require sudo)
pip install --no-cache-dir -r requirements.txtThe following RWD capabilities are left unspecified on purpose, the RWD server on the WPT agent node chooses the appropriate value
- platform (OS platform)
- version (Browser version)
Other capabilities (resolution, proxy, ...) may need to be supported in the future
Fetch a single URL snapshot, i.e. single measurement.
Usage:
python rwdclient.py --server-url http://user:pass@provider.com:port -b chrome --browser chrome --test-url http://appdynamics.comExecute a python selenium script passed as an argument. The script will have
the driver object in it's local scope.
A script can be a free form python script like:
driver.get('http://appdynamics.com')
driver.quit();Usage:
python rwdclient.py --server-url http://user:pass@provider.com:port -b chrome --browser chrome --test-script ~/tmp/my_script.pyCopyright (c) AppDynamics, Inc, and its affiliates 2015 All rights reserved.