SeleniumClient\By
Synopsis
class By
{
- // members
- private $_strategy;
- private $_selectorValue;
- // methods
- public void getStrategy()
- public void getSelectorValue()
- public static By className()
- public static By cssSelector()
- public static By id()
- public static By name()
- public static By linkText()
- public static By partialLinkText()
- public static By tagName()
- public static By xPath()
- public void __toString()
- public void __construct()
Members
private
- $_selectorValue
- $_strategy
Methods
public
- __construct()
- __toString()
- className() — Locate by element's css class name
- cssSelector() — Locate by element's css selector path
- getSelectorValue()
- getStrategy()
- id() — Locate by element's id
- linkText() — Locate by element's link text
- name() — Locate by element's name
- partialLinkText() — Locate by part of element's link text
- tagName() — Locate by element's tag name
- xPath() — Locate by element's xPath