test_class.declarator: driverMock
test_class.modifier: private
test_class.original_string: private WebDriver driverMock;
test_class.type: WebDriver
test_class.var_name: driverMock
test_class.declarator: webElement
test_class.modifier: private
test_class.original_string: private WebElement webElement, webElement2;
test_class.type: WebElement
test_class.var_name: webElement
test_class.declarator: browser
test_class.original_string: InBrowser browser;
test_class.type: InBrowser
test_class.var_name: browser
test_class.file: jdollarx/src/test/java/com/github/loyada/jdollarx/InBrowserFinderTest.java
test_class.identifier: InBrowserFinderTest
test_case.body: @Test
      public void findNTimesUnderlying() {
          when(webElement.findElement(By.xpath(".[count(//div)=5]"))).thenReturn(webElement2);
          Path path = BasicPath.builder().withUnderlying(webElement).withXpath("div").build();
          assertThat(InBrowserFinder.findPageWithNumberOfOccurrences(driverMock, path, 5), is(webElement2));
      }
test_case.class_method_signature: InBrowserFinderTest.findNTimesUnderlying()
test_case.full_signature: @Test public void findNTimesUnderlying()
test_case.identifier: findNTimesUnderlying
test_case.invocations: thenReturn when findElement xpath build withXpath withUnderlying builder assertThat findPageWithNumberOfOccurrences is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void findNTimesUnderlying()
focal_class.file: jdollarx/src/main/java/com/github/loyada/jdollarx/InBrowserFinder.java
focal_class.identifier: InBrowserFinder
focal_class.class_method_signature: InBrowserFinder.find(WebDriver driver, final Path el)
focal_class.full_signature: static WebElement find(WebDriver driver, final Path el)
focal_class.identifier: find
focal_class.modifiers: static
focal_class.parameters: (WebDriver driver, final Path el)
focal_class.return: WebElement
focal_class.signature: WebElement find(WebDriver driver, final Path el)
focal_class.class_method_signature: InBrowserFinder.findPageWithout(WebDriver driver, final Path el)
focal_class.full_signature: static WebElement findPageWithout(WebDriver driver, final Path el)
focal_class.identifier: findPageWithout
focal_class.modifiers: static
focal_class.parameters: (WebDriver driver, final Path el)
focal_class.return: WebElement
focal_class.signature: WebElement findPageWithout(WebDriver driver, final Path el)
focal_class.class_method_signature: InBrowserFinder.findAll(WebDriver driver, final Path el)
focal_class.full_signature: public static List<WebElement> findAll(WebDriver driver, final Path el)
focal_class.identifier: findAll
focal_class.modifiers: public static
focal_class.parameters: (WebDriver driver, final Path el)
focal_class.return: List<WebElement>
focal_class.signature: List<WebElement> findAll(WebDriver driver, final Path el)
focal_class.class_method_signature: InBrowserFinder.findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)
focal_class.full_signature: public static WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)
focal_class.identifier: findPageWithNumberOfOccurrences
focal_class.modifiers: public static
focal_class.parameters: (WebDriver driver, final Path el, int numberOfOccurrences)
focal_class.return: WebElement
focal_class.signature: WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)
focal_class.class_method_signature: InBrowserFinder.findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences, RelationOperator relationOperator)
focal_class.full_signature: public static WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences, RelationOperator relationOperator)
focal_class.identifier: findPageWithNumberOfOccurrences
focal_class.modifiers: public static
focal_class.parameters: (WebDriver driver, final Path el, int numberOfOccurrences, RelationOperator relationOperator)
focal_class.return: WebElement
focal_class.signature: WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences, RelationOperator relationOperator)
focal_class.class_method_signature: InBrowserFinder.processedPathForFind(final String path)
focal_class.full_signature: private static String processedPathForFind(final String path)
focal_class.identifier: processedPathForFind
focal_class.modifiers: private static
focal_class.parameters: (final String path)
focal_class.return: String
focal_class.signature: String processedPathForFind(final String path)
focal_method.body: public static WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences) {
          return findPageWithNumberOfOccurrences(driver, el, numberOfOccurrences, RelationOperator.exactly);
      }
focal_method.class_method_signature: InBrowserFinder.findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)
focal_method.full_signature: public static WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)
focal_method.identifier: findPageWithNumberOfOccurrences
focal_method.invocations: findPageWithNumberOfOccurrences
focal_method.modifiers: public static
focal_method.parameters: (WebDriver driver, final Path el, int numberOfOccurrences)
focal_method.return: WebElement
focal_method.signature: WebElement findPageWithNumberOfOccurrences(WebDriver driver, final Path el, int numberOfOccurrences)