title: VB.NET Selenium Webdriver move slider on website using visual basic
body: <p>I've been looking for a way to set a slider value on a website to a specific value using visual basic.</p>
  <p>The way I grab the slider:</p>
  <pre><code>Dim slider As WebElement = driver.FindElement(By.XPath(&quot;//*[@id='main-content']/div[1]/div[2]/ul/div/div[5]/div[2]/div/input&quot;))
  </code></pre>
  <p>The element does have a default value &quot;50&quot;. I'd like to set it to, say, &quot;30&quot;</p>
  <p>A code block I found:</p>
  <pre><code>Actions move = new Actions(driver);
  Action action = move.dragAndDropBy(slider, 30, 0).build();
  action.perform();
  </code></pre>
  <p>which is not VB.NET</p>
  <p>How do you do that using VB.NET?</p>