Java HTML (twitter) parsing
<p>I am parsing a website where the content is usually some tweets, so I want to get only the tweets, I checked the web site structure and the peace of code from I want to get the information from is like the following:</p>

<pre><code>&lt;div class="tweet"&gt;
    &lt;a href="https://twitter.com/Sweden" target="_blank" class="tweet__link"&gt;@sweden&lt;/a&gt;
    &lt;span class="tweet__timestamp"&gt;&lt;a href="https://twitter.com/sweden/status/691294898453110784" target="_blank" class="tweet__permalink"&gt;Jan. 24, 2016, 5:22 p.m.&lt;/a&gt;&lt;/span&gt;
    &lt;p class="tweet__content"&gt;None of them should count when it comes to how you get treated by authorities. &lt;a href="https://t.co/NdSZd3YBTk" rel="nofollow"&gt;https://t.co/NdSZd3YBTk&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>I want to get everything that is inside the 
I have tried with the following code but I didn't succeed.</p>

<pre><code>public static void main(String[]args) throws IOException {
        WebDriver driver = new FirefoxDriver();
        driver.get("http://curatorsofsweden.com/curator/aleksandra-boscanin/");

        By tweetSelector = By.cssSelector("div[class='tweet'] a");

        WebDriverWait wait = new WebDriverWait(driver, 2);
        wait.until(ExpectedConditions.presenceOfElementLocated(tweetSelector));

        List&lt;WebElement&gt; tweetElements = driver.findElements(tweetSelector);
        for (WebElement tweetElement : linkElements) {
            String tweet= tweetElement.getAttribute("p class");

                System.out.println("Tweet" + tweet);


        }
        driver.quit();
        }
</code></pre>