<commit_before>package com.codeborne.selenide;

import org.openqa.selenium.WebElement;

public interface ShouldableWebElement extends WebElement {
  ShouldableWebElement should(Condition... condition);
  ShouldableWebElement shouldHave(Condition... condition);
  ShouldableWebElement shouldBe(Condition... condition);
}<commit_msg>ShouldableWebElement.toString method displays WebElement in human-readable format. Useful for logging.<commit_after>package com.codeborne.selenide;

import org.openqa.selenium.WebElement;

public interface ShouldableWebElement extends WebElement {
  ShouldableWebElement should(Condition... condition);
  ShouldableWebElement shouldHave(Condition... condition);
  ShouldableWebElement shouldBe(Condition... condition);

  /**
   * Displays WebElement in human-readable format
   * @return e.g. <strong id=orderConfirmedStatus class=>Order has been confirmed</strong>
   */
  @Override String toString();
}
{'fraction_non_alphanumeric': 0.09188034188034189, 'fraction_numerical': 0.0, 'mean_word_length': 5.889705882352941, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2495584', 'n_tokens_mistral': 245, 'n_tokens_neox': 238, 'n_words': 61}