Depends on QATools\QATools\PageObject.
According to BEM methodology (http://bem.info/) the following restrictions apply:
But single HTML node (or it’s element) can be within different blocks at same time.
\QATools\QATools\BEM\Element)| Name | Description |
|---|---|
Element |
Represents a single element on a page, that must be placed within a Block. |
Block |
Base class for creating dedicated classes, that will encapsulate associated elements on a page. |
| Name | Description |
|---|---|
@bem |
Unified annotation for both Block and Element. |
\QATools\QATools\BEM\Element\Block class to for each block on a page\QATools\QATools\BEM\Element\Element in their @var annotation for each individual element in each block (or alternatively use $this->getElements method in the Block class)\QATools\QATools\BEM\BEMPage class@var annotation for each individual blockFound a typo ? Something is wrong in this documentation ? Just fork and edit it !