默认情况下,robot framework是启动不带任何配置信息的firefox,如果需要启动带有profile的话,增加一个参数即可,如
Open Browser ${SERVER} ${BROWSER} ff_profile_dir=${FF_PROFILE} 或
Open Browser ${SERVER} ff_profile_dir=${FF_PROFILE}
另:
创建profile,可以
Launch profile manager
-
firefox.exe -P
(Windows) -
/Applications/Firefox.app/Contents/MacOS/firefox-bin -profilemanager
(OSX) ./firefox -profilemanager
(Linux)