tests(devtools): use new primaryPageTarget
function
#14839
Merged
primaryPageTarget
function
#14839