title: How do you load only certain elements on a page with selenium in Java
body: <p>If I use the .get method in Selenium, How do I block all elements except the ones I want to load from this website to make the loading process alot faster?</p>
  
  <p>This is what I have done:</p>
  
  <pre><code>System.setProperty("dir/chromedriver"); 
  ChromeDriver driver = new ChromeDriver(); 
  driver.get("url"); 
  driver.findElementByCssSelector(".Name").click(); 
  </code></pre>
  
  <p>while this works with my desired parameters, The .get and .click methods wait till the page fully loads but this takes too long if I only need 2 elements on the page</p>