Hi all,
Here is the complete steps:
- Test agent :Chrome
[WebPagetest]
url=http://127.0.0.1/
location=Test
browser=Chrome
Time Limit=120
;key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat
[chrome]
exe=“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe”
options=‘–load-extension=“%WPTDIR%\extension” --user-data-dir=“%PROFILE%” --no-proxy-server’
;installer=http://www.webpagetest.org/installers/browsers/chrome.dat
[Firefox]
exe=“C:\Program Files (x86)\Mozilla Firefox\firefox.exe”
options=‘-profile “%PROFILE%” -no-remote’
;installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox
[IE]
exe=“C:\Program Files (x86)\Internet Explorer\iexplore.exe”
-
I launched IE and entered the URL “some xxx”, choose Chrome browser and click start test.
-
WPTdriver launched “Chrome” and the specified URL was displayed in Chrome.
-
Both the Chrome browser and IE closes after some time.
Logically Chrome can close as the test is completed successfully, But why does IE close? Am confused as how do I see my results:(
Please also not that both my agent and IE browser are in the same machine(not VM)
As per Patrick comments in below thread, IE should not close right?
RE: WPT close all Browsers after Test completed
Correct. It is expecting to run on a dedicated test machine or VM and that is part of the cleanup to make sure no stray processes are left running. If you want to test locally you should be able to use a different browser than what is being used for the test and it should stay up (using IE when running Chrome tests for example).