This change aims to factorize code introduced in #1467 for webdriver port customisation within the suites. Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>