functional testing - Meaning of "browser" in Selenium's requested capabilities -
i developing functional tests behat, mink , selenium. have long been perplexed "browser" item included in capabilities object that's created each new session:
02:13:48.592 info - got request create new session: capabilities [{browser=safari, name=behat feature suite, browsername=safari, [...] }]
as far can tell, "browsername" has effect - if set "browsername" "safari" , "browser" other value, new session created on node can run safari.
so why mink include value? must surely have purpose, haven't found documentation explaining it.
a possible answer be:
browser
, browsername
same capability browser use.
if using capabilities
parametter set desired capabilities use, browsername
has priority.
if not using capabilities
parametter can setup browser name using browser
.
to better picture please take getconfig
method @ arraynode('selenium2')
line extension.php
located in vendor > behat > mink-extension > src.
hope in getting answer or @ least point right direction.
Comments
Post a Comment