I want to click this button. but I can not find any web element so that the driver can find out. Help me to fix this.
<button type="submit" class="signupbtn btn_full btn btn-action btn-block btn-lg">
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this communityI want to click this button. but I can not find any web element so that the driver can find out. Help me to fix this.
<button type="submit" class="signupbtn btn_full btn btn-action btn-block btn-lg">
This is a web element in itself, write xpath for this button element and perform your action:
webElement submitBtn = driver.findElement(by.xpath("//button[@type='submit']"));
submitBtn.click();
To know more about 'how to create xpath' watch this video tutorial: https://www.youtube.com/watch?v=67bzMdbhIuw