'How to use code for click to rgeister button

writing my first automation code for register button so after giving locator need to put .click , so that register button could be clicked.like driver.findElements(By.className("ico-register")).click(); but .click is giving error or coming in red color.enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source