Search

Codeception\Util\Locator

Set of useful functions for using CSS and XPath locators. Please check them before writing complex functional or acceptance tests.

combine()

public static combine($selector1, $selector2)

  • static
  • param string $selector1
  • param string $selector2
  • throws Exception
  • return string

Applies OR operator to any number of CSS or XPath selectors.

You can mix up CSS and XPath selectors here.

<?php