I have the following HTML structure and I am trying to use Selenium to enter a value
<div class="form-group justify-content-center d-flex">
<form id="main-form" class="form-inline" action="/pushData" method="post">
<input type="hidden" name="_token" value="bnePp0JmVaVYuaTIAfuVIGT2y7usVssX3vQrAGaz">
<input type="text" id="input-url" class="url-input" name="url" placeholder="Paste URL to shorten">
<button class="button main-btn main-btn_primary" id="button-submit">Cut</button>
</form>
</div>
Here is my code
driver.find_element_by_id("input-url").send_keys("test")
driver.find_element_by_id("button-submit").click()
I want to get this element and enter a value.