Selenium (WebDriver) has in all of its bindings (here I will use JavaScript, but the question is equally valid for the others) a Builder class that is used to c
Builder