Repositories (1)

Selenium
1 snippets stored for this repo
driver.get("https://www.youtube.com/");
            Thread.sleep(2000);
            driver.findElement(By.xpath("//input[@id='search']")).sendKeys("Mr Beast");
            driver.findElement(By.id("search-icon-legacy")).click();
            Thread.sleep(2000);
        String Subscribe = driver.findElement(By.id("video-count")).getText();