set_active_browser
set_active_browser($num,$activate=true); - make the specified browser active ( the active browser accepts all DOM commands )
the input Function accepts parameters:
$num – active browser number (bookmark number, numbering starts from zero)$activate – whether to activate the browser visually (visually switch to the bookmark with the browser), by default - switch on.
After testing, the function returns the result of its work to the script :
true – successfully activated the specified browser
false – failed to activate