docs: private static void injectIntoFrames(final WebDriver driver, final String script, final ArrayList<WebElement> parents) {
  		final JavascriptExecutor js = (JavascriptExecutor) driver;
  		final List<WebElement> frames = driver.findElements(By.tagName("iframe"));
  
  		for (WebElement frame : frames) {
  			driver.switchTo().defaultContent();
  
  			if (parents != null) {
  				for (WebElement parent : parents) {
  					driver.switchTo().frame(parent);
  				}
  			}
  
  			driver.switchTo().frame(frame);
  			js.executeScript(script);
  
  			ArrayList<WebElement> localParents = (ArrayList<WebElement>) parents.clone();
  			localParents.add(frame);
  
  			injectIntoFrames(driver, script, localParents);
  		}
  	}