uknmr / gas-webpagetest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs: scripting

azu opened this issue · comments

commented

README.mdからscript.txtの記述を消してしまってたので、復活するついでにファイルパスをオプション化しようと思います。

WEBPAGETEST_OPTIONS_SCRIPTS_PATH=./script.txt

デフォルトは不要なのでコメントアウトとかですかね。

# Path to Scripting file
## https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting
# WEBPAGETEST_OPTIONS_SCRIPTS_PATH=./script.txt

後は、このパスを使うようにするだけで任意のパスをscriptingのファイルにできると思います。


現状は script.txt 固定になっています。 #4