The problem is that I cannot find and enter the text in the fields
<input onkeyup="$('#firstname').val(this.value);" type="text" class="is_required validate form-control" data-validate="isName" id="customer_firstname" name="customer_firstname" value="" xpath="1">
I tried using id
and Xpath
but it doesn't work
driver.findElement(By.id("customer_firstname")).sendKeys("Mario");
Or by Xpath
driver.findElement(By.xpath("//input[@id='customer_firstname']")).sendKeys("Mario");
Any tips? :)
This is the website. Insert email -> click 'create an account' -> and there are those fields to fill in to register.