Tell me please. The task is to open the website www.random.org , click on the Numbers - Integers button. Then click Get Numbers and display the numbers in the console. I work with selenium webdriver , java and intellige idea. I came across a problem that I can not find the item through cssSelector .
import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Basic { public static void main(String[] args) { WebDriver webBrowser = new ChromeDriver(); webBrowser.get("https://www.random.org/"); webBrowser.findElement(By.cssSelector("ЧТО ТУТ ПИСАТЬ")).click(); } }